开发者

Updatepanel gives web request manager error

开发者 https://www.devze.com 2023-02-03 14:11 出处:网络
I am using a radiolist control in my wep page. and there is 3 update panel in that web page. Each update panel contains a list box. All the 3 update panels have a AsyncPostBackTrigger (radiolist index

I am using a radiolist control in my wep page. and there is 3 update panel in that web page. Each update panel contains a list box. All the 3 update panels have a AsyncPostBackTrigger (radiolist index changed event).

my problems is开发者_如何学运维 i get an error randomly

   Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format. 

any ideas??


I guess you are internally assigning a string value to the integer data type. In that case you have to use the TryParse method. Please find the code snippet below which may help you

int integerValue= 0;

int.TryParse(value, out integerValue);

Hope this should resolve your issue.

0

精彩评论

暂无评论...
验证码 换一张
取 消