G
Guest
I am building an ASP.NET application where I have been required to make all
the editing screens popup windows within the application. I didn't have any
trouble creating the new windows but only about half of them show on top of
the main application when they are created. The window are created in
javascript and I've tried using the top property of the window object but it
still does not work for all my windows and all the windows are created using
the same command. Am I missing something in javascript or is this an issue
with the new Internet Explorer?
This is the code I used to create my popup windows:
'Create a script to bring up the update window
strScript = "<script language='javascript'>"
strScript &=
"window.open('frmServiceLogUpdate.aspx?mode=update&servicelogid=" &
CInt(TableRow_LogID.Value) & "&clientid=" & Session("ServiceClientID") &
"','AddLog','width=522,height=450,top=100,left=200,directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no');window.top(0);"
strScript &= "</script>"
'Execute the script
RegisterClientScriptBlock("NewEntry", strScript)
Any help would be greatly appreciated.
the editing screens popup windows within the application. I didn't have any
trouble creating the new windows but only about half of them show on top of
the main application when they are created. The window are created in
javascript and I've tried using the top property of the window object but it
still does not work for all my windows and all the windows are created using
the same command. Am I missing something in javascript or is this an issue
with the new Internet Explorer?
This is the code I used to create my popup windows:
'Create a script to bring up the update window
strScript = "<script language='javascript'>"
strScript &=
"window.open('frmServiceLogUpdate.aspx?mode=update&servicelogid=" &
CInt(TableRow_LogID.Value) & "&clientid=" & Session("ServiceClientID") &
"','AddLog','width=522,height=450,top=100,left=200,directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no');window.top(0);"
strScript &= "</script>"
'Execute the script
RegisterClientScriptBlock("NewEntry", strScript)
Any help would be greatly appreciated.