Hi:
I have a nested table as part of a radgrid. The user is able to expand the nested table, then add, update and delete using a popup form. I am updating information for the master DB that shows in radgrid1 after each change (totals). When I close the nested table and return to displaying the main grid, the totals do not refresh (even though they are updated in the database). I have tried adding RadGrid1.MasterTableView.Rebind() to the itemupdated, itemdeleted and iteminserted commands, but it is not working for me. Would it make sense to use javascript to force a rebind on radgrid1 when the user collapses the nested table? If so, how can I call a javascript function at the time the nested grid is collapsed? I think this function would work if I can execute it at the right time:
Thanks, Dan
I have a nested table as part of a radgrid. The user is able to expand the nested table, then add, update and delete using a popup form. I am updating information for the master DB that shows in radgrid1 after each change (totals). When I close the nested table and return to displaying the main grid, the totals do not refresh (even though they are updated in the database). I have tried adding RadGrid1.MasterTableView.Rebind() to the itemupdated, itemdeleted and iteminserted commands, but it is not working for me. Would it make sense to use javascript to force a rebind on radgrid1 when the user collapses the nested table? If so, how can I call a javascript function at the time the nested grid is collapsed? I think this function would work if I can execute it at the right time:
function NestedTableCollapsing(sender, args) {
var masterTable = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
masterTable.rebind();
}
Thanks, Dan