Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

AsyncPostBack of UpdatePanel causes Sys.WebForms.PageRequestManagerServerErrorException: Status Code-500, but normal postback does not

$
0
0

Hi,

I have an UpdatePanel and inside that a button (To save the changes made in the gridview) and a gridview in my page. Also, in the gridview there are multiple controls for each record. Now when button is clicked following error is occured:

"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"

But when I completely removed the UpdatePanel from the page and clicked the button, normal page refresh occured and the above error is not coming. It is working. Similarly, if I keep the UpdatePanel and in a PostBackTrigger put the button's control then also no error.

The error is only occuring when there is an AsyncPostBack to the server. Also, the error doesnot come when there are 100  records in the gridview. It is coming only after the record count is some 140-150 and more than that.

I am quite sure AsyncPostBack has something to do with the number of records (with number of controls) in the gridview of my page whereas normal postback is not affected by this. Can anybody put some light on this?

Thanks


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>