How do I.....

  • Thread starter Thread starter Ollie
  • Start date Start date
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
 
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
 
Back
Top