473,395 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to open a new window in the browser

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
Nov 21 '05 #1
6 1119
"Giovanni Cobos" <gc****@mail.com> schrieb:
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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #2
The target audience is people from internet, that's the problem.

Maybe you know how I can resolve it.

Thank's

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> escribió en el mensaje
news:#P**************@TK2MSFTNGP10.phx.gbl...
"Giovanni Cobos" <gc****@mail.com> schrieb:
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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3
The target audience is people from internet, that's the problem.

Maybe you know how I can resolve it.

Thank's
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> escribió en el mensaje
news:#P**************@TK2MSFTNGP10.phx.gbl...
"Giovanni Cobos" <gc****@mail.com> schrieb:
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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #4
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
Nov 21 '05 #5
"Giovanni Cobos" <gc****@mail.com> schrieb:
The target audience is people from internet, that's the problem.


Maybe a Web Page Dialog (Microsoft-specific, AFAIK) will solve the problem
(untested!):

'showModalDialog' Method
<URL:http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/showmodaldialog.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #6
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
Nov 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: Paul | last post by:
I link to a web site from an Excel spreadsheet. The page i link to is getCookie.asp which sets a cookie then returns back some html which opens a new window, to the same site but a different page...
6
by: lukeo | last post by:
I'm shelling out to an .asp (or htm) page from an application. I want to show this in a window without the address bar, etc... Is there a way I can redirect this page using javascript to a page...
2
by: venkatesh | last post by:
Hi Members, I have used the below mentioned code to open a html page in a new browser. The window size is 200 x 300. In that browser, I've given code to open another browser of the same size....
10
by: Marshall Dudley | last post by:
When I do the following line in Netscape, the popup loads as it should, but the parent window usually, but not always, reloads as well. <a href="#"...
10
by: David McCulloch | last post by:
The following code opens a new window, but the "resizeTo" doesn't resize it. Why not? (Don't ask why I simply did not open the window with the new size....my original problem was how to open a...
2
by: nntp | last post by:
Are there other ways to open multile windows at once? <SCRIPT language="JavaScript"> function open1() { var open1 = window.open('http://google.com/CheckEnviro.pl','','scrollbars=yes,height=600...
29
by: wayne | last post by:
Hey there... I'm having some problems passing url parameters with an open.window command. I'm not terribly familiar with java script but here is the code below. When executed it opens the...
3
by: Bob | last post by:
I am trying to create a popup page (to act as a menu) from a parent page. When the parent page (index.jsp) calls my popup function (see below) it will properly open the correct size browser window...
6
by: Mateo | last post by:
Hi! I tried to open page in new window with window.open(...) method. open() method supports fullscreeen mode, but I would like to open new maximized window with tiltle bar only.... Any idea...
7
by: Toccoa | last post by:
After considerable googling - I mean searching with Google(r) - I could not find javascript on a button or <a href=... to close a window in the latest versions of IE and FireFox. There seemed...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.