UpdatePanel Javascript error

Posted on 2009-02-09
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:
Question by:fsouzabrasil
    LVL 7

    Expert Comment

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

    Author Comment

    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
    LVL 12

    Accepted Solution

    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.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
    Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now