We help IT Professionals succeed at work.

UpdatePanel Javascript error

Medium Priority
386 Views
Last Modified: 2012-05-06
Hi experts,
   I use ScriptManager and updatepanel tags, but when insert this components my webpage display javascript error.

attachment webpage code generated and javascript error:
err.txt
page.txt
Comment
Watch Question

Commented:
It seems like Sys is not defined correctly!  Maybe set it to System = Sys ????

Author

Commented:
I just insert the AJAX component for VB.NET.

In the generated code I have identified the error, but I use the same components using C # in another application and I have the same javascript error.

I need to use updatepanel in ASP.NET website using VB.NET, but when I insert the components and reload the page the javascript error is generated
Some of the troubleshooting steps.
1. Check if you have the AJAX Framework installed on your system?
2. Check to see the Script Manager is the first Form element, i.e it should appear before the UpdatePanel or any javascript that accesses Sys.
3. There are many javascript files that you have include and i think a third-party component too.  Check to see if there is any statement that uses the Sys, which needs to be loaded first before they can be accessed.
There can be variety of reasons for this error message though.  You may wish to refer the below link.
http://msdn.microsoft.com/en-us/library/system.web.ui.scriptmanager.aspx

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.