Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1210
webtab and webscriptmanager error
posted

I added a webtab to my web form (version 12.1) and then dragged a webscriptmanager to the form. Everything compiles but when I go to run the form I get this error:

 

Microsoft JScript runtime error: 'Sys' is undefined

Sys.WebForms.PageRequestManager._initialize('ctl00$ContentPlaceHolder1$ScriptManager1', document.getElementById('aspnetForm'));

No matter where I place this code:

    <ig:WebScriptManager ID="WebScriptManager1" runat="server">
    </ig:WebScriptManager>

I get the error. Could you give me direction on how to fix the error?

 

  • 1210
    posted

    NOTE... this only happens when I am running in development mode via vs2010. The error does not occur when running from IE outside of the development environment. Not sure if related but when the page appears, the webtab does not display. What would cause the webtab to not display?