Hi. I have a Radgrid with a MasterTableView and 2 Detail Tables (total of 3 levels). I have each GridTableView set to
HierarchyLoadMode="Client" and I am binding the tables in my code-behind. I have an OnNeedDataSource method as well as an OnDetailTableDataBind method to do all the binding. On the first page load, the grids/tables all bind correctly. In the 3rd level detail table, I have a GridButtonColumn that will call a server-side RadGrid_Delete event that will remove that row from the data in the database. I then want to refresh the entire RadGrid to show that the row was removed, which may affect the upper 2 levels if it was the last row removed. So, at the end of the RadGrid_Delete event in the code-behind, I try calling the Rebind() method on my RadGrid. Both the OnNeedDataSource and the OnDetailTableBind methods get fired and at the end of OnDetailTableBind event it is thowing error like "Cannot find the column [<column of parent table>]". When I refresh the browser, however, the data does refresh and the row is gone.
HierarchyLoadMode="Client" and I am binding the tables in my code-behind. I have an OnNeedDataSource method as well as an OnDetailTableDataBind method to do all the binding. On the first page load, the grids/tables all bind correctly. In the 3rd level detail table, I have a GridButtonColumn that will call a server-side RadGrid_Delete event that will remove that row from the data in the database. I then want to refresh the entire RadGrid to show that the row was removed, which may affect the upper 2 levels if it was the last row removed. So, at the end of the RadGrid_Delete event in the code-behind, I try calling the Rebind() method on my RadGrid. Both the OnNeedDataSource and the OnDetailTableBind methods get fired and at the end of OnDetailTableBind event it is thowing error like "Cannot find the column [<column of parent table>]". When I refresh the browser, however, the data does refresh and the row is gone.