I have a RadGrid with a master table and a details table in a hierarchy. The master shows totals from the data in the details table.
I can edit a row in the details grid and save it without problems. But the total on the master row is then incorrect. I added code to rebind, which works, but then the details grid won't go out of edit mode.
In ItemCommand I check to see if it is the detail table, then do this:
I also tried that line in the Item_Updated event, with the same result.
So how do you cause the master grid to refresh and get the detail grid to exit edit mode?
Thanks
I can edit a row in the details grid and save it without problems. But the total on the master row is then incorrect. I added code to rebind, which works, but then the details grid won't go out of edit mode.
In ItemCommand I check to see if it is the detail table, then do this:
e.Item.OwnerTableView.ParentItem.OwnerTableView.Rebind()
I also tried that line in the Item_Updated event, with the same result.
So how do you cause the master grid to refresh and get the detail grid to exit edit mode?
Thanks