This is a migrated thread and some comments may be shown as answers.

[Solved] Refresh DetailTable from an outside control

2 Answers 144 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Stephen
Top achievements
Rank 1
Stephen asked on 06 Aug 2009, 11:32 PM
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??????????

2 Answers, 1 is accepted

Sort by
0
Stephen
Top achievements
Rank 1
answered on 09 Aug 2009, 01:44 PM
Anyone???
0
Georgi Krustev
Telerik team
answered on 11 Aug 2009, 03:04 PM
Hello Stephen,

May you share with us the implementation of the described scenario? Thus we will try to review it locally and advice you further.

All the best,
Georgi Krustev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Stephen
Top achievements
Rank 1
Answers by
Stephen
Top achievements
Rank 1
Georgi Krustev
Telerik team
Share this question
or