Hello I am trying to refresh my grid my rad window opens a page which contains asynupload to upload a file and after closing the window i am refreshing the grid but it does not fire and i have used debugger i cam to know the onclientclose executes even before the radwindow is open.
the code is
the code is
function
onClientClose() {
alert(
"hi"
);
$find(
"<%= RadAjaxManager1.ClientID %>"
).ajaxRequest();
}
protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
{
FileGrid.Rebind();
}
i have kept break point here the control does not come at all.
and the radwindow which contains webpage js is
function CloseAndRebind() {
GetRadWindow().Close();
}