I often have use cases were I need to enter a new parent record with child records all on one page.
Examples:
  • New Order (parent) and OrderDetails (children)
  • New Person (parent) and PersonPhones (children)
My struggle is that I haven't settled on the best practices pattern for implementing this with Ext.Net.

From the mvc.demo, I see how to load the parent/child into a Form and Grid.


   function fillOrder(record) {
        OrderCommonInformation.form.loadRecord(record);
        ShippingInformationForm.form.loadRecord(record);
        dsOrderDetails.loadData(record.data.Order_Details);
    }
I would appreciate some advice on the best practice to extend this same example to
  • start will an empty Form and Grid,
  • Create a new Order with new OrderDetails
  • save parent/childern to server
Any suggestions would be appreciated.

Thanks

fdlane