Sys is Undefined

Last post 04-21-2009 4:57 AM by Lance Zhang - MSFT. 2 replies.

Sort Posts:

  • Sys is Undefined

    04-19-2009, 8:57 AM
    • Member
      151 point Member
    • Girish Chawrai
    • Member since 08-28-2008, 12:39 PM
    • Pune (India)
    • Posts 75

    Hello everyone,

    I have two separate web applications. In one web application, the following statements works just fine, whereas in the other, it gives this error: 'Sys is Undefined'.

     

    Statements:

    var grdBounds = Sys.UI.DomElement.getBounds(grdHeader);
    Sys.UI.DomElement.setLocation(dvMain, grdBounds.x, grdBounds.y);

      

     Best Regards,

    Girish.

    Please remember to click “Mark as Answer” on the post that helps you.
    This can be beneficial to other community members reading the thread.
    Good Luck!
  • Re: Sys is Undefined

    04-19-2009, 11:58 AM
    Answer
    • Contributor
      2,728 point Contributor
    • binobose
    • Member since 10-23-2007, 8:42 AM
    • India
    • Posts 606

    Girish Chawrai:
    'Sys is Undefined'.

    Are you using Ajax? have you missed out HTTP Handlers in Web.Config?

    else check this post

    http://forums.asp.net/p/1040236/1878829.aspx

    Cheers
    Bino
    www.codepal.co.in

    Please Mark as Answer if you find the post useful.
  • Re: Sys is Undefined

    04-21-2009, 4:57 AM
    Answer
    Hello Girish  
     
    There are many reasons can cause the facing issue, there is a common way to troubleshooting:
     
    Demystifying ‘Sys is undefined’
    http://weblogs.asp.net/chrisri/archive/2007/02/02/demystifying-sys-is-undefined.aspx
     
    And you can also try to put the JavaScript code to the bottom of the page markup, just before the </body> tag to see if the issue can be solved.
     
    Thanks.

     

    Lance Zhang
Page 1 of 1 (3 items)