I have an asp button and on button click i am doing as below:
ScriptManager.RegisterStartupScript(Page, Page.GetType(), "openFaultWin", "javascript:openWindow();", true);
but it is not finding the window object.
function openWindow()
{
szUrl =
"Add_Fault.aspx?header=" + szHeader + "&stage=" + szStage + "&serial_no=" + SerialNo.value + "&insp_id=" + inspectionStageId;
oMailWnd = window.radopen(szUrl,
"faults");
oMailWnd.setSize(800, 600);
oMailWnd.moveTo(0, 0);
oMailWnd.set_modal(
true);
oMailWnd.add_close(OnWindowClose)
oMailWnd.show();
return false;
}
please help...
Thanks & Regards
Brijendra Pandey