In a Telerik kendo hierarchical grid for asp.net mvc is it possible to update both parent and child tables with a single save button on the parent grid
3 Answers, 1 is accepted
answered on 03 Sep 2014, 06:50 AM
Saving both parent and child Grids using a single request is not supported out of the box. A similar behavior could be achieved by subscribing to the parent Grid's DataSource requestEnd event. Once the event is triggered you can check if the type of the request is "create" or "update", get the instances of all child Grids, iterate over their data items, set a value for the ID field using the one got from the response and finally sync the child Grid's dataSources.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.