The Coding on clicking the delete button is as follows
string JS = "<script type=text/javascript>";
JS +=
"function GetRadWindow1(){";
JS +=
"var oWindow = null;";
JS +=
"if (window.radWindow) oWindow = window.radWindow;";
JS +=
"else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;";
JS +=
"return oWindow;}";
JS +=
"var oWindow = GetRadWindow1();";
JS +=
"oWindow.Close();";
JS +=
"oWindow.BrowserWindow.refreshGrid();";
JS +=
"</script>";
RegisterStartupScript(
"CloseWindowStartupScript", JS);
I have tried this method and is still not working
lblClose.Text=
"<script type='text/javascript'>GetRadWindow().Close();GetRadWindow().BrowserWindow.refreshGrid();</script>";
BUT When I remove the proxy manager in this window. Everything works. Any resolution to this issue?