locked
Postback on web page in IIS 7.5 gives error RRS feed

  • Question

  • User1099297201 posted

    Hi,

    I have a ASP.NET 4.0 application. In this application i have a page to upload data.After the data is uploaded i am getting a empty page with the following text:

    0|| (theForm.onsubmit() != false)) { theForm.__EVENTTARGET.value = eventTarget; theForm.__EVENTARGUMENT.value = eventArgument; theForm.submit(); } } //]]> ||

    Please could someone suggest on how to resolve this.

    Thursday, March 6, 2014 4:11 AM

Answers

  • User-166373564 posted

    Hi,

    0|| (theForm.onsubmit() != false)) { theForm.__EVENTTARGET.value = eventTarget; theForm.__EVENTARGUMENT.value = eventArgument; theForm.submit(); } } //]]> ||

    For this issue, please refer to the codes below, and check whether it helps you. 

    function __doPostBack(eventTarget, eventArgument) {
        if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
            theForm.__EVENTTARGET.value = eventTarget;
            theForm.__EVENTARGUMENT.value = eventArgument;
            theForm.submit();
        }

    Best regards

    Anige

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, March 7, 2014 12:20 AM