Click here to Skip to main content
16,008,175 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When am editing my grid rows.It will be placed on all required controls.its not a problem.it will appeared on all control when am going to update it .it will shown following errors.

Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.
Posted
Updated 16-Sep-11 3:10am
v2

1 solution

i also create dynamic form in asp.net then this issue came in front of me.

I used this concept for that time
string s = Request.Form["ControlId"].ToString();
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900