Click here to Skip to main content
15,922,584 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I have a user page in that I have called
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(showWordList);
and the javascript code is .
XML
<pre lang="sql">function showWordList(sender, eventArgs) {

    if (eventArgs.get_error() != undefined) {
        alert(showAjaxCustomError(eventArgs.get_error().message));
        eventArgs.set_errorHandled(true);
    }

    if (Sys.WebForms.PageRequestManager.getInstance()._postBackSettings.panelsToUpdate[0] != null) {
        if (Sys.WebForms.PageRequestManager.getInstance()._postBackSettings.panelsToUpdate[0].indexOf(&quot;upParseQueryUsingDtSearch&quot;) &gt; 0)

}}} </pre>




It arises null reference error at
Sys.WebForms.PageRequestManager.getInstance()._postBackSettings in IE 10 and IE11.
but when I apply debugger and debug line by line it runs properly.I am unable to find out exact problem behind . Is here is the problem with time or something else.



Please help
Posted
Updated 15-Mar-16 20:42pm

1 solution

IF that is happen in IE 11 and IE 10 than it may possible that you need to update your browser defination on the server. micrsoft provide some hotfix available for that.

also please check below link.

http://www.hanselman.com/blog/BugAndFixASPNETFailsToDetectIE10CausingDoPostBackIsUndefinedJavaScriptErrorOrMaintainFF5ScrollbarPosition.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900