Opening Multiple Windows

E

Evan Kontos

I am using the window.open function to open a small window and I am
using GET to get values back from that window. I want to be able to
open another from the second window but I get an error message when I
try to do another window.open. Any suggestions are welcomed.



Evan Kontos | (e-mail address removed)

27 Whitehall St. | 3rd Floor | New York, NY 10004
Tel 212.480.8166 | Fax 212.480.8167 | Personal Fax 786.513.0295
www.comtekcadd.com
 
T

Tom Spink

Hi, this doesn't sound like VB.NET. Please try a group more appropriate to
your programming language.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

"Maybe it's a game called 'Punish the User'"
 
E

Evan Kontos

I am doing it thru VB.Net as follows:

Private Sub BTNShwPht_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles BTNShwPht.Click

Dim str As String = "<script language
=javascript>{window.showmodaldialog('photofrm.aspx'"

str += ");}</script>"

RegisterStartupScript("adf", str)

End Sub



Evan Kontos | (e-mail address removed)

27 Whitehall St. | 3rd Floor | New York, NY 10004
Tel 212.480.8166 | Fax 212.480.8167 | Personal Fax 786.513.0295
www.comtekcadd.com
 
H

Herfried K. Wagner [MVP]

Hello,

Evan Kontos said:
I am using the window.open function to open a small window
and I am using GET to get values back from that window.
I want to be able to open another from the second window
but I get an error message when I try to do another window.
open. Any suggestions are welcomed.

This is a VB.NET language ng. Your question is off-topic.

Regards,
Herfried K. Wagner
 
C

Cor

Evan,
Maybe this is VB.net, and maybe very ingenious, but why not just do it in
HTML in the .aspx page with the VB.net IDE.
You can put a HTML button too on an aspx page with the VB.net IDE Therefore
you change in the toolbox from that VB.net IDE the tag in html and you can
drag a button to your VB.net WebForm page. Than the tab html left beneath in
the aspx page on your VB.net IDE and just change it.
If you need more information about the JavaScript I advise you to ask that
in a proper JavaScript newsgroup.
Cor
 

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

Top