By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,827 Members | 813 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,827 IT Pros & Developers. It's quick & easy.

Set Page Size

P: n/a
In VSNET how do you set the overall size of a web form?

Wayne
Nov 18 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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/a...ods/open_0.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Wayne Wengert" <wa***************@wengert.com> wrote in message
news:OA*************@TK2MSFTNGP09.phx.gbl...
In VSNET how do you set the overall size of a web form?

Wayne

Nov 18 '05 #2

P: n/a
Thanks Steve;
Does this Script get called from the PageLoad event?

Wayne

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
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/a...ods/open_0.asp
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Wayne Wengert" <wa***************@wengert.com> wrote in message
news:OA*************@TK2MSFTNGP09.phx.gbl...
In VSNET how do you set the overall size of a web form?

Wayne


Nov 18 '05 #3

P: n/a
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" <wa***************@wengert.com> wrote in message
news:uQ**************@TK2MSFTNGP10.phx.gbl...
Thanks Steve;
Does this Script get called from the PageLoad event?

Wayne

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
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/a...ods/open_0.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Wayne Wengert" <wa***************@wengert.com> wrote in message
news:OA*************@TK2MSFTNGP09.phx.gbl...
In VSNET how do you set the overall size of a web form?

Wayne



Nov 18 '05 #4

P: n/a
OK - Thanks

Wayne

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:uL**************@TK2MSFTNGP10.phx.gbl...
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" <wa***************@wengert.com> wrote in message
news:uQ**************@TK2MSFTNGP10.phx.gbl...
Thanks Steve;
Does this Script get called from the PageLoad event?

Wayne

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
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/a...ods/open_0.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Wayne Wengert" <wa***************@wengert.com> wrote in message
news:OA*************@TK2MSFTNGP09.phx.gbl...
> In VSNET how do you set the overall size of a web form?
>
> Wayne
>
>



Nov 18 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.