Hello
As I understand the scenario you have a custom insert form. It is used to enter data for both the parent and nested GridTableView.
If this is the case you can use custom logic in the code-behind and add the data directly to the data source. You can use the OnInsertCommand event of RadGrid for this. In the handler you can access the data source and add the new information.
By default the RadGrid control is automatically rebound after the InsertCommand event. Thus, the new data should be visible in the grid.
Check out the following resources that describe in more detail how you can manually update the data:
Regards,
Viktor Tachev
Telerik
,As I understand the scenario you have a custom insert form. It is used to enter data for both the parent and nested GridTableView.
If this is the case you can use custom logic in the code-behind and add the data directly to the data source. You can use the OnInsertCommand event of RadGrid for this. In the handler you can access the data source and add the new information.
By default the RadGrid control is automatically rebound after the InsertCommand event. Thus, the new data should be visible in the grid.
Check out the following resources that describe in more detail how you can manually update the data:
- http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/manual-crud-operations/defaultcs.aspx
- http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/data-editing/update-records/updating-values-using-usercontrol-and-formtemplate
Regards,
Viktor Tachev
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items