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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top