|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Failed to load viewstate.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. How I can solve this problem? Hi,
create controls in Init, or create them exactly in same position as on previous request, opr use other means to emulate dynamic controls (with databound controls like Repeater). More information on dynamic controls: http://aspadvice.com/blogs/joteke/archive/2006/01/06/14568.aspx Show quoteHide quote "Slavioglo" <Slavio***@discussions.microsoft.com> wrote in message news:0F7D58F6-52CD-4EB2-A91A-3899C609E600@microsoft.com... > 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. > > How I can solve this problem?
Save Child GridView only when parent GridView Saved
apply an ItemTemplate dinamically fill ObjectDatasource on request Getting row index by Event Args... Shuffling rows in a GridView DetailsView Issue. Data diagrams - like the ones in office (excel, word, et al.) Programmatically enabling Validation Controls Getting error BC30560 with CR 11 Release 2 Datagrid Rows |
|||||||||||||||||||||||