Asynchronous trigger of update panel causes error os state information is invalid

Posted by RohiK under C# on 4/21/2011 | Points: 10 | Views : 1778 | Status : [Member] | Replies : 2
hi friends

I have one grid of products and 3 buttons remove, update, continue .
I want to update that grid means update values in grid using that update button and remove any row of grid using remove button .
I am using checkbox,textbox,label in that grid.
I placed that grid in update panel and running it. then it works fine but the page gets refreshed. so I given trigger
with control id of button update and remove.

then somtimes if i do multiple operations like update or remove then the after some time some button couldn't works fine the whole page stopped. if i refresh that page then only it works again.
and after i click on continue then it gives me error that state information in invalid

Happy Programming!!
Rohi



Responses

Posted by: RohiK on: 4/21/2011 [Member] Starter | Points: 25

Up
0
Down
Hi ,

I found actual problem,

my button in update panel get disabled after some operations.
how to enabled that?

Happy Programming!!
Rohi

RohiK, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 4/21/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
this is a Security feuture in asp.net , what you can do is to turn off the validation in your page.

EnableEventValidation="false"





Thank you for posting at Dotnetfunda
[Administrator]

RohiK, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response