function
NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops =
'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops);
win.focus();
}
in My code i am opening this in gridview item command(Not radgrid). I am using radjax manager .The window is not opening.
Code:
Dim
strScript As String
strScript =
"<script language=JavaScript"
strScript = strScript &
" >"
strScript = strScript &
"NewWindow('proposed_material_list_modify.aspx?prop_id=" & Request.QueryString("prop_id") & "&mtrl_id=" & sMtrlId & "&Root=" & Request.QueryString("Root") & "&GroupID=" & Request.QueryString("GroupID") & "&PIN=" & MaterialGrid.CurrentPageIndex & "&IMGS=" & CheckBox1.Checked & "','Add_Note','650','600','no'); "
strScript = strScript &
" <"
strScript = strScript &
"/" & "script> "
ClientScript.RegisterStartupScript(
Me.GetType, "Reject Note", strScript)