W
Wayne Wengert
In VSNET how do you set the overall size of a web form?
Wayne
Wayne
Wayne Wengert said:Thanks Steve;
Does this Script get called from the PageLoad event?
Wayne
http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/open_0.aspSteve 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:
Steve C. Orr said: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
http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/open_0.asp