"'WebForm_DoCallback' is not defined" - IE 11

0

I had a problem with a site I'm programming when running it in IE11.

After putting the tag inside my code so that the code is emulated as IE 9:

<head id="Head1" runat="server">
<meta http-equiv="x-ua-compatible" content="IE=9" />

It was all working until you got to the Callback function:

function CallServer(arg, context) {WebForm_DoCallback('__Page',arg,retornoCallback,"",erroCallback,true); }

And the message: 'WebForm_DoCallback' não está definido

How to make the code run normally?

    
asked by anonymous 30.01.2014 / 17:04

1 answer

1

It may be a problem Already Known with the server's IIS / Asp.Net, where Microsoft provides some hotfixes ( download here ) that affect the server in general and all applications, or a Nuget package ( App_BrowsersUpdate ) to solve the problem in a single application.

Scott Hanselman has an excellent article explaining more about these solutions (in his case the problem occurred in the __doPostback () function, but the idea is the same)

    
30.01.2014 / 19:14