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

[Solved] How to refresh master on Hierarchy RadGrid

1 Answer 148 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Scott Wade
Top achievements
Rank 1
Scott Wade asked on 17 Dec 2009, 09:35 PM
I have a hierarchy RadGrid with a master and one detail.  I'm declaring my dataSources with SQLDataSource.  The master shows a column summing up the detail dollar amounts.

The binding works great on initial load and if I manually click refresh on the detail. 

I can't seem to figure out how to get the master to auto-refresh (rebind) after a detail record is added, deleted or updated.

Please help.

Thanks,
Scott

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 18 Dec 2009, 07:59 AM

Hi Scott,

In the ItemDeleted/ItemUpdated/ItemInserted   events  of the detail grid that fire after the Delete/Update/Insert commands use  RadGrid1.MasterTableView.Rebind() to refresh the parent grid.

Thanks,
Princy


Tags
Grid
Asked by
Scott Wade
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or