Hello to all its been a while and I am stuck on this one.
Ok here it is.
First and foremost I have a gridview which works perfectly. When I mean perfectly I mean you can update/delete/select/index
change / etc. This gridview is part of a usercontrol which I call on my page.
Now the problem is when I put this gridview in an Ajax Accordian Panel which makes the
users can click on the panel to slide up or down. When the Users decides to click on the next page index, or Edit controls I get this error
"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. "
Again this only happens when I put the gridview within the Accordian Panel..if I don't have it in there then I get no error at all.
Is there a solution to this madness LOL.
Thanks in Advance guys for helping this noob :).
This is my Front End Code for the accordian panel..which my gridview is pullout of a user control
<cc1:Accordion ID="AccordMain" runat="server">
<cc1:AccordionPane ID ="AccordColor" runat ="server">
<Header><div class ="TitleRoll" style="display:block; border:2px navy outset; color:White;"> Add / Edit Color </div> </Header>
<ucIntCol:ucIntColors ID ="UcColor" runat ="server" />