Showing posts with label overall. Show all posts
Showing posts with label overall. Show all posts

Tuesday, March 13, 2012

Set Page Size

In VSNET how do you set the overall size of a web form?
WayneYou 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/...hods/open_0.asp
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Wayne Wengert" <wayneDONTWANTSPAM@.wengert.com> wrote in message
news:OAD7GrUOEHA.892@.TK2MSFTNGP09.phx.gbl...
> In VSNET how do you set the overall size of a web form?
> Wayne
>
Thanks Steve;
Does this Script get called from the PageLoad event?
Wayne
"Steve C. Orr [MVP, MCSD]" <Steve@.Orr.net> wrote in message
news:%23$9aWtUOEHA.640@.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/...hods/open_0.asp
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://Steve.Orr.net
>
> "Wayne Wengert" <wayneDONTWANTSPAM@.wengert.com> wrote in message
> news:OAD7GrUOEHA.892@.TK2MSFTNGP09.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" <wayneDONTWANTSPAM@.wengert.com> wrote in message
news:uQJnJEVOEHA.3044@.TK2MSFTNGP10.phx.gbl...
> Thanks Steve;
> Does this Script get called from the PageLoad event?
> Wayne
>
> "Steve C. Orr [MVP, MCSD]" <Steve@.Orr.net> wrote in message
> news:%23$9aWtUOEHA.640@.TK2MSFTNGP12.phx.gbl...
> this:
> window
>
http://msdn.microsoft.com/workshop/...hods/open_0.asp
>
OK - Thanks
Wayne
"Steve C. Orr [MVP, MCSD]" <Steve@.Orr.net> wrote in message
news:uLPgR3VOEHA.3712@.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" <wayneDONTWANTSPAM@.wengert.com> wrote in message
> news:uQJnJEVOEHA.3044@.TK2MSFTNGP10.phx.gbl...
>
http://msdn.microsoft.com/workshop/...hods/open_0.asp
>

Set Page Size

In VSNET how do you set the overall size of a web form?

WayneYou 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/...hods/open_0.asp

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

"Wayne Wengert" <wayneDONTWANTSPAM@.wengert.com> wrote in message
news:OAD7GrUOEHA.892@.TK2MSFTNGP09.phx.gbl...
> In VSNET how do you set the overall size of a web form?
> Wayne
Thanks Steve;
Does this Script get called from the PageLoad event?

Wayne

"Steve C. Orr [MVP, MCSD]" <Steve@.Orr.net> wrote in message
news:%23$9aWtUOEHA.640@.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/...hods/open_0.asp
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://Steve.Orr.net
>
> "Wayne Wengert" <wayneDONTWANTSPAM@.wengert.com> wrote in message
> news:OAD7GrUOEHA.892@.TK2MSFTNGP09.phx.gbl...
> > In VSNET how do you set the overall size of a web form?
> > Wayne
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" <wayneDONTWANTSPAM@.wengert.com> wrote in message
news:uQJnJEVOEHA.3044@.TK2MSFTNGP10.phx.gbl...
> Thanks Steve;
> Does this Script get called from the PageLoad event?
> Wayne
>
> "Steve C. Orr [MVP, MCSD]" <Steve@.Orr.net> wrote in message
> news:%23$9aWtUOEHA.640@.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/...hods/open_0.asp
> > --
> > I hope this helps,
> > Steve C. Orr, MCSD, MVP
> > http://Steve.Orr.net
> > "Wayne Wengert" <wayneDONTWANTSPAM@.wengert.com> wrote in message
> > news:OAD7GrUOEHA.892@.TK2MSFTNGP09.phx.gbl...
> > > In VSNET how do you set the overall size of a web form?
> > > > Wayne
> >
OK - Thanks

Wayne

"Steve C. Orr [MVP, MCSD]" <Steve@.Orr.net> wrote in message
news:uLPgR3VOEHA.3712@.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" <wayneDONTWANTSPAM@.wengert.com> wrote in message
> news:uQJnJEVOEHA.3044@.TK2MSFTNGP10.phx.gbl...
> > Thanks Steve;
> > Does this Script get called from the PageLoad event?
> > Wayne
> > "Steve C. Orr [MVP, MCSD]" <Steve@.Orr.net> wrote in message
> > news:%23$9aWtUOEHA.640@.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/...hods/open_0.asp
> > > > --
> > > I hope this helps,
> > > Steve C. Orr, MCSD, MVP
> > > http://Steve.Orr.net
> > > > > "Wayne Wengert" <wayneDONTWANTSPAM@.wengert.com> wrote in message
> > > news:OAD7GrUOEHA.892@.TK2MSFTNGP09.phx.gbl...
> > > > In VSNET how do you set the overall size of a web form?
> > > > > > Wayne
> > > > > >