Opening a new browser window

  • Thread starter Thread starter Richard Salit
  • Start date Start date
R

Richard Salit

This seems like an easy question but I can't find the
answer. How do I open a new browser window from my web
application? I want to open the window and run a report
in that window.

Thanks,
Richard Salit
 
Richard,

You will have to use javascript for this. You can use the open method
on the window class to open a new browser window on the client. At that
point, you would have the new browser window point to a url that will fetch
your report from the server.

Hope this helps.
 
jScriptString = "<SCR" + "IPT>"
jScriptString += "myWin = window.open('winName, 'width = 500;height =
500;')"
jScriptString = "</SCR" + "IPT>"

Response.Write(jScriptString)
 
Back
Top