Set Page Size

  • Thread starter Thread starter Wayne Wengert
  • Start date Start date
This is client side code that must be executed in the browser, not on the
server.
You could call the code from a click event, or wherever you want in your
client side code.\

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net


Wayne Wengert said:
Thanks Steve;
Does this Script get called from the PageLoad event?

Wayne



Steve C. Orr said:
You can open a new window at a specific size using javascript such as this:
a=window.open('MyPage.aspx','MyWindow',"height=200,width=400")
There are all kinds of options for setting window properties such as window
size and toolbar visibility.
Here's more info:
http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/open_0.asp
 
Back
Top