How to open a new window in the browser

  • Thread starter Thread starter Giovanni Cobos
  • Start date Start date
G

Giovanni Cobos

I am developing a web page with Visual Basic .NET and I would appreciate if
you can help me, because I want to know how can I open a new window (not a
pop up, because they are blocked) in the browser but it should be through
code.

Thanking you in advance for your time and help.

Giovanni
 
Giovanni Cobos said:
I am developing a web page with Visual Basic .NET and I would appreciate if
you can help me, because I want to know how can I open a new window (not a
pop up, because they are blocked) in the browser but it should be through
code.


Mhm... What's the target audience of the Web page? If you are using the
page in an internal network, for example, you could add the page to the
popup blocker's whitelist.
 
The target audience is people from internet, that's the problem.

Maybe you know how I can resolve it.

Thank's
 
The target audience is people from internet, that's the problem.

Maybe you know how I can resolve it.

Thank's
 
Giovanni,

What is the difference between a pop up and a new window.

It is the same with the difference that in a pop up are often standard
window parts deleted and therefore standard blocked by IE under XP SP2.

You can open this, however keep in mind not an ASPX page because that cause
directly serverside action and destroys than your current page.

Here a sample that I once made.
\\\
Dim str As String
str = "<script language=javascript> {window.open('http://www.google.com');}
</script>"
RegisterStartupScript("Startup", str)
///

I hope this helps a little bit?

Cor
 
doh,
You can open this, however keep in mind not an ASPX page because that
cause directly serverside action and destroys than your current page.
The last is not true in this case, I was mixing it up with a response
redirect.

Cor
 
Back
Top