Author: JToTheEsse | Posted on: 4/22/2010 1:55:31 PM | Views : 902

So I have a web page where analyst review web pages which are listed in our database. They are assigned a page, then have to open it and look at it. These pages can be html webpages, pictures, pdfs, docs, etc. I have a button to launch the page they are to view.



This is the way my code is right now:
Page.RegisterStartupScript("k", "<script>window.open('" & VarUrl & "','_blank')</script>")

I've also tried:
Response.Write("<script>") Response.Write("window.open('" & VarUrl & "','_blank')") Response.Write("</script>")

Which also didn't work.


Is there a better way to do this to launch the page in a new browser and act like a brower?


Thanks



...

Go to the complete details ...