ASP.net application...need to open a reports popup window...
tried this:
And passed it the url and a name and any attributes (Width, height, etc).Code:Private Sub OpenReports(ByVal strURL As String, ByVal strName As String, ByVal strAtt As String) Response.Write("<script language='JavaScript'>") 'Response.Write("self.name = 'main';") Response.Write("x=window.open('" & strURL & "', '" & strName & "','" & strAtt & "');") Response.Write("</script>") End Sub
Works fine HOWEVER, it places the window under the application, I want it to pop on top of the application.
The window should be noticeable (opened in the front) so the user knows what to do. It should not be placed under the web app so that the user has to minimize just to see it.
Jon




Reply With Quote