I have created a RadWindow/RadGrid combination that displays the RadWindow when a row on the grid is doubled clicked. I have javascript methods in both the RadWindow asp page and the grid's page (see code below) now when the window closes I need the NeedDataSource event to be fired when the rebind in the javascript is executed. I don't think that I am wiring the event correctly or performing the process correctly. Can you provide some advise?
RadWindow page javascript:
function CloseAndRebind {
GetRadWindow().BrowserWindow.RefreshGrid(arg);
RadWindow().Close();
}
RadGrid page javascript:
function RefreshGrid(arg) {
$find("<%= RaidAjaxManager1.ClientID %>").AjaxRequest("Rebind");
}
Please note that the RadGrid is the UpdateControl in the RadAjaxManager. Also, the grid does appear to have an effect of all rows being highlighted on the rebind but the NeedDataSource is never called.
Thanks,
Steve Holdorf
RadWindow page javascript:
function CloseAndRebind {
GetRadWindow().BrowserWindow.RefreshGrid(arg);
RadWindow().Close();
}
RadGrid page javascript:
function RefreshGrid(arg) {
$find("<%= RaidAjaxManager1.ClientID %>").AjaxRequest("Rebind");
}
Please note that the RadGrid is the UpdateControl in the RadAjaxManager. Also, the grid does appear to have an effect of all rows being highlighted on the rebind but the NeedDataSource is never called.
Thanks,
Steve Holdorf