R
rameshk75
I have a parent window and popup window. Would like to pass a value
stored in a Code behind variable(_strUserId) as a querystring.
Below is the code.
Dim Popupscript As String
Popupscript = "<script language='javascript'> var strReturn;
strReturn=window.showModalDialog('RequestPopup.aspx?RequestID=' &
_strUserId,'status:no;dialogWidth:370px;dialogHeight:220px;dialogHide:true;help:no;scroll:no');
document.getElementById('txtPopupUserId').value=strReturn;</script>"
RegisterStartupScript("frmRequest", Popupscript)
Can anyone pls correct me where am i going wrong !
Thanks in Advance
stored in a Code behind variable(_strUserId) as a querystring.
Below is the code.
Dim Popupscript As String
Popupscript = "<script language='javascript'> var strReturn;
strReturn=window.showModalDialog('RequestPopup.aspx?RequestID=' &
_strUserId,'status:no;dialogWidth:370px;dialogHeight:220px;dialogHide:true;help:no;scroll:no');
document.getElementById('txtPopupUserId').value=strReturn;</script>"
RegisterStartupScript("frmRequest", Popupscript)
Can anyone pls correct me where am i going wrong !
Thanks in Advance