Hi Eyup,
I have got Reorder working fine. but with the Batch Edit, i want to save all the changes from Master and Details table views to Database. i am using the below code for that.
function saveChangesInGrid(Sender, Agrs) {
var DetailsGrid = $find("<%= RadDetails.ClientID %>");
var BatchMgr = DetailsGrid.get_batchEditingManager();
var hasChanges = BatchMgr.hasChanges(DetailsGrid.get_masterTableView());
if (hasChanges) {
alert("there are some changes in the OF");
//BatchMgr.saveTableChanges([DetailsGrid.get_masterTableView()]);
BatchMgr.saveAllChanges();
}
};
The below line is outside of the grid
<asp:Button runat="server" ID="btnSaveOrderForm" Text="Save OrderForm" OnClientClick="saveChangesInGrid();" />
and this is triggering OnBatchEditCommand. until this all fine.
the problem is, it is not updating the Details table.
Please help me on this.
Thanks,
Sujana.