I have a hierarchical RadGrid with 3 levels, each bound to an SqlDataSource. The 3rd level grid has a summary of information, and if you click the (custom) Edit button for the row, a (ASP.NET) DetailsView control (bound to another SqlDataSource) is displayed, letting the user edit lots of fields, including some SQL fields that are also visible in the RadGrid's 3rd table. When the edit is saved in the DetailsView, the 3rd level needs to be refreshed to display the updated information. This is being attempted by the ItemCommand event of the DetailsView.
The problem is that I cannot get the 3rd level table to refresh at all, no matter what I try. Each time, the data stays the same, and if you click on anything in the grid, a nasty error comes up about the viewstate being different. I have tried simple databinding on the 3rd level, and calling DataBind(). I've also tried advanced databinding and calling Rebind() (and also setting DataSource to null). Neither works at all. I can rebind the entire grid, but then it all collapses and I STILL get the error about the viewstate being different.
I'm not sure what to try next??????????
The problem is that I cannot get the 3rd level table to refresh at all, no matter what I try. Each time, the data stays the same, and if you click on anything in the grid, a nasty error comes up about the viewstate being different. I have tried simple databinding on the 3rd level, and calling DataBind(). I've also tried advanced databinding and calling Rebind() (and also setting DataSource to null). Neither works at all. I can rebind the entire grid, but then it all collapses and I STILL get the error about the viewstate being different.
I'm not sure what to try next??????????