OnPreRenderComplete generates 'Sys is not defined' errors?

3 posts, 0 answers
  1. mike
    mike avatar
    5 posts
    Member since:
    May 2014

    Posted 09 May 2014 Link to this post

    Hello,
    I have a page with the radgrid working.

    What i wanted to do is after the render is complete, go to the header context menu object and remove some menu items that i don't want there.

    When I add an OnPreRenderComplete to the code I get the 'Sys is not defined' error.

    Any suggestions?
    thanks.
  2. mike
    mike avatar
    5 posts
    Member since:
    May 2014

    Posted 09 May 2014 Link to this post

    I added a ContextMenu_PreRender(object sender, EventArgs e) and put the code in there and it worked.
    Although i am still curious about the Sys error.
  3. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 12 May 2014 in reply to mike Link to this post

    Hi mike,

    Please have a look into the following links which discuss about the same issue.

    Common reasons for the ‘Sys is undefined’ error in ASP.NET Ajax applications
    General Troubleshooting

    Thanks,
    Princy.
Back to Top