473,396 Members | 2,011 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Set Page Size

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

Wayne
Nov 18 '05 #1
4 3610
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Michael Brennan-White | last post by:
If I submit my for using a get action the resulting page loads . If I use a post action I get an error page saying "The page cannot be found". I am calling the originating page!!! This happens...
1
by: Arun Nair | last post by:
Hi, I have the following jsp page. I am able to view only a part of it(until the occurence of the first City text box). If i remove the first few fields from the page, I am able to see a few...
7
by: Drew | last post by:
I have a db table like the following, UID, int auto-increment RegNo Person Relation YearsKnown Now here is some sample data from this table,
0
by: Nathan | last post by:
Hi, I seem to having a peculiar problem with the display of odd and even pages in XSL-FO. Here is a small background of the problem. My xsl stylesheet mentions my fo:layout-master-set as ...
0
by: Jeff | last post by:
Hi - I have an ASP.NET page that hangs (some times; if it loads for you, try refresh/F5 several times) when I try to run it on my localhost. It contains an HTML table for formatting, and within...
1
by: Raja Shekar | last post by:
HI Every body , I would like to know whether is it mandatory to give Tablespace page size and Bufferpool page size equal..? i also heard like while creating tablespace if pages size of tablespace...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
1
by: soluvah | last post by:
Hello Folks, Been trying to widen my site's body from "779" to "1000" so it almost fills the window. IE 7 on windows XP just dismantles the pages and leaves wide gaps between the left column and...
3
by: hsahealthsavings | last post by:
I made this page using a free html editor called formbreeze. The issue is 1) There is a whole bunch of white space at the end of the page that I cannot seem to figure how to get rid of 2) I have...
3
by: premprakashbhati | last post by:
hi, good evening.. i am going to upload an image in a web form .....for that iam using HTML input(file) control and one web control button i.e., Upload_Button() here is the code ...its work fine...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.