Does anyone know how to get the `InsertItem` of detail table of radgrid?
Does anyone know how to get the InsertItem
of detai开发者_JAVA技巧l table of radgrid?
I can get from master table using the following code.
Radgrid1.MasterTableView.GetInsertItem();
But how can I get it from detailtable?
You need the index of the parent item:
RadGrid1.Items[?].ChildItem.NestedTableViews[0].GetInsertItem();
In a EventHandler you can iterate through the parent objects of the sender until the GridEditFormInsertItem.
精彩评论