How do I.....

O

Ollie

From an asp.net page I have been able to open another browser window (using
javascript) when a button is clicked on the aps.net page.

What I want to know is it possible when another button is clicked on the
main asp.net page and this new broswer is already open can I update the
contents of the new browser window without opennng another browser window?

Cheers

Jim
 
S

Steve C. Orr, MCSD

You can open a new window using javascript such as this:
a=window.open('MyPage.aspx','MyWindow')
There are all kinds of options for setting window properties such as window
size and toolbar visibility.
This code names the window "MyWindow" so that you can refer to it again in
the future.
Future calls to window.open should then use the same window assuming you use
the same name.
Here's more info:
http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/open_0.asp
 

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