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?
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?
I also verified that all the styles are imported. In vs2010 design the webtab displays. When I run the form it is as though the visible property of the webtab is set to false. The webtab is on a web form that displays in the content area of a master page.
I have a WebTab inside a Web Content Form that uses MasterPage. The WebTab didn't show up after I run the solution. This is my issue.
Hello rookertrusted ,
Thank you for posting in our forum.
I tested this on my side but the issue didn’t seem to reproduce. I’m attaching the sample I tested on for your reference.
Please test it and let me know if it reproduces the issue on your side. I didn’t include the ig_res folder with the styles due to its size but going into design view will add it for you.
If it doesn’t reproduce the issue then probably there are some settings in your web.config file that are causing this.
Also please refer to the follow articles on the error you were getting:
http://weblogs.asp.net/chrisri/archive/2007/02/02/demystifying-sys-is-undefined.aspx
http://programmingissues.blogspot.com/2009/07/syswebformspagerequestmanager-error.html
http://forums.asp.net/t/1045716.aspx/1?How+to+fix+a+Sys+WebForms+PageRequestManagerParserError+in+page+with+UpdatePanel
I’m looking forward to your reply.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://es.infragistics.com/support
Yes this works but change the target from 3.x to 2.0 on your exact example and see that it has issues. It would be helpful to see what you need to do to make that work.
If you’re changing the framework you’re using make sure that you change the IG assemblies accordingly as well.
For example if you’re using CLR 2 make sure you use the Infragistics2.Web.v12.1… assembly so that they would be compatible.
Make sure you change the references for the application to point to that assembly as well.
When I changed the clr I used and the reference to the corresponding assembly I didn’t come across any issues.
Let me know if you come across any issue when you do the same on your side.