This is a migrated thread and some comments may be shown as answers.

OnPreRenderComplete generates 'Sys is not defined' errors?

2 Answers 67 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
mike
Top achievements
Rank 1
mike asked on 09 May 2014, 01:46 PM
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 Answers, 1 is accepted

Sort by
0
mike
Top achievements
Rank 1
answered on 09 May 2014, 01:55 PM
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.
0
Princy
Top achievements
Rank 2
answered on 12 May 2014, 07:04 AM
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.
Tags
General Discussions
Asked by
mike
Top achievements
Rank 1
Answers by
mike
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or