I am using RIA services and have two entities (Order and OrderDetail) that have a one-to-many relationship. I am binding a RadGridView to a collection of Orders and have a detail grid displayed when a gridrow for a given Order is expanded.
I have added a "Total Order" column in the Master grid using the example in the silverlight demo app (http://demos.telerik.com/silverlight/#GridView/FirstLook) that displays the sum of the orderdetail (qty * price) rows for each order. I have added the necessary functionality to add, edit and remove OrderDetail entities in the detail grid and this works great.
My question\problem is, how do I update the "Total Order" column in the master row when the detail rows have been modified\added\deleted? I noticed in the gridview demo that the Order Value column does not update either when the user updates the quantity or price for Order Detail Lines rows.
This seems like such a simple task to accomplish but I have tried several ways of approaching this and no success yet. Can anyone help me out on this one?