My error is
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500
I have an UpdatePanel
, and a GridView
in it, and several TextBox
es on my webpage.In my gridview there are product informations, when I set the SelectedIndex
of my gridview as -1 for the start.
I run the code, and select a product from the gridview, it works fine.Then I click to another product on the gridview(meaning the selected index is changed) then I get the error at the top of my question.
A day ago, Infragistics tabs were used in this webpage for Tabs
, this error wasn't appearing, I am using Ajax TabContainer
now but I can't seem to handle this error.I tried adding ValidateRequest="false"
to my Page directive but that didn't work out.
Any ideas?Anybody encountered with this kind of error and solved?
Thank you in advance.
Best Answer
If I understood you correctly, it is an UpdatePanel problem in your page, here is the solution set EnablePartialRendering to false in the ScriptManager
I think it may help somebody