473,395 Members | 1,532 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,395 software developers and data experts.

Document Length Property?

I'm working on a project that has several aspx webforms. I'm runniung in to
a problme where the document length is not allowing me to add controls. The
scrollbar in the design mode is disabled it seems. It's as if the length is
fixed not allowing for scrolling down the page. I know this must be a simple
thing, but can't seem to find it. Thank anyone for their assistance.

David A. Beck
Nov 18 '05 #1
5 1143
David,

In design mode the visual studio.net ide only shows scroll bars if
necessary. The document's length, just like in a web browser, automatically
grows depending on how much is placed on it.

To demonstrate this (and to show you how to place a control further down the
document's page), just hit the enter key a few times which will place
paragraph tags into your document. Put enough of them in and you'll see
scroll bars. To place a control further down the page put paragraph tags in
your page until you reach the point your next control should be placed.

In other words you have to place all your controls on the page using html
tags (paragraph tags, break tags, or tables to name a few) or using
cascading style sheets to "place" each component.

I hope this helps.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"David A. Beck" <da****@beckb.com> wrote in message
news:uf**************@TK2MSFTNGP11.phx.gbl...
I'm working on a project that has several aspx webforms. I'm runniung in to a problme where the document length is not allowing me to add controls. The scrollbar in the design mode is disabled it seems. It's as if the length is fixed not allowing for scrolling down the page. I know this must be a simple thing, but can't seem to find it. Thank anyone for their assistance.

David A. Beck

Nov 18 '05 #2
S:

That's what I think should happen, but I can't type on the form at all. I
can place controls on it but I can't type directly on it or hit enter. Must
be something simple.

Dab
"S. Justin Gengo" <sj*****@aboutfortunate.com> wrote in message
news:up*************@TK2MSFTNGP11.phx.gbl...
David,

In design mode the visual studio.net ide only shows scroll bars if
necessary. The document's length, just like in a web browser, automatically grows depending on how much is placed on it.

To demonstrate this (and to show you how to place a control further down the document's page), just hit the enter key a few times which will place
paragraph tags into your document. Put enough of them in and you'll see
scroll bars. To place a control further down the page put paragraph tags in your page until you reach the point your next control should be placed.

In other words you have to place all your controls on the page using html
tags (paragraph tags, break tags, or tables to name a few) or using
cascading style sheets to "place" each component.

I hope this helps.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"David A. Beck" <da****@beckb.com> wrote in message
news:uf**************@TK2MSFTNGP11.phx.gbl...
I'm working on a project that has several aspx webforms. I'm runniung in

to
a problme where the document length is not allowing me to add controls.

The
scrollbar in the design mode is disabled it seems. It's as if the length

is
fixed not allowing for scrolling down the page. I know this must be a

simple
thing, but can't seem to find it. Thank anyone for their assistance.

David A. Beck


Nov 18 '05 #3
S:

I am using a Web Form, not a HTML page.

Dab
"S. Justin Gengo" <sj*****@aboutfortunate.com> wrote in message
news:up*************@TK2MSFTNGP11.phx.gbl...
David,

In design mode the visual studio.net ide only shows scroll bars if
necessary. The document's length, just like in a web browser, automatically grows depending on how much is placed on it.

To demonstrate this (and to show you how to place a control further down the document's page), just hit the enter key a few times which will place
paragraph tags into your document. Put enough of them in and you'll see
scroll bars. To place a control further down the page put paragraph tags in your page until you reach the point your next control should be placed.

In other words you have to place all your controls on the page using html
tags (paragraph tags, break tags, or tables to name a few) or using
cascading style sheets to "place" each component.

I hope this helps.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"David A. Beck" <da****@beckb.com> wrote in message
news:uf**************@TK2MSFTNGP11.phx.gbl...
I'm working on a project that has several aspx webforms. I'm runniung in

to
a problme where the document length is not allowing me to add controls.

The
scrollbar in the design mode is disabled it seems. It's as if the length

is
fixed not allowing for scrolling down the page. I know this must be a

simple
thing, but can't seem to find it. Thank anyone for their assistance.

David A. Beck


Nov 18 '05 #4
S:

I added a whole bunch of <BR> html tags to the bottom of my form and, like
you said, it lets me scroll down now. I plased the asp controls where they
go and then commented out the <BR>s and everything works. Thanks.

I'd be interested in an example of using a CSS to accomplish what you are
saying.

Dab
"S. Justin Gengo" <sj*****@aboutfortunate.com> wrote in message
news:up*************@TK2MSFTNGP11.phx.gbl...
David,

In design mode the visual studio.net ide only shows scroll bars if
necessary. The document's length, just like in a web browser, automatically grows depending on how much is placed on it.

To demonstrate this (and to show you how to place a control further down the document's page), just hit the enter key a few times which will place
paragraph tags into your document. Put enough of them in and you'll see
scroll bars. To place a control further down the page put paragraph tags in your page until you reach the point your next control should be placed.

In other words you have to place all your controls on the page using html
tags (paragraph tags, break tags, or tables to name a few) or using
cascading style sheets to "place" each component.

I hope this helps.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"David A. Beck" <da****@beckb.com> wrote in message
news:uf**************@TK2MSFTNGP11.phx.gbl...
I'm working on a project that has several aspx webforms. I'm runniung in

to
a problme where the document length is not allowing me to add controls.

The
scrollbar in the design mode is disabled it seems. It's as if the length

is
fixed not allowing for scrolling down the page. I know this must be a

simple
thing, but can't seem to find it. Thank anyone for their assistance.

David A. Beck


Nov 18 '05 #5
David,

Here's an example of positioning a label using CSS. (Not all CSS displays
the same way on all browsers. So be careful to test all the browsers you
need your site to work with if you go the CSS route. It's the most flexible
way to design a page though and it's the recommended way to design a site.
Reference www.w3c.org for details.)

<asp:Label id="Label1" runat="server" style="LEFT: 8px; POSITION: absolute;
TOP: 8px">Positioned with CSS style tags.</asp:Label>

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"David A. Beck" <da****@beckb.com> wrote in message
news:uW**************@TK2MSFTNGP10.phx.gbl...
S:

I added a whole bunch of <BR> html tags to the bottom of my form and, like
you said, it lets me scroll down now. I plased the asp controls where they
go and then commented out the <BR>s and everything works. Thanks.

I'd be interested in an example of using a CSS to accomplish what you are
saying.

Dab
"S. Justin Gengo" <sj*****@aboutfortunate.com> wrote in message
news:up*************@TK2MSFTNGP11.phx.gbl...
David,

In design mode the visual studio.net ide only shows scroll bars if
necessary. The document's length, just like in a web browser,

automatically
grows depending on how much is placed on it.

To demonstrate this (and to show you how to place a control further down

the
document's page), just hit the enter key a few times which will place
paragraph tags into your document. Put enough of them in and you'll see
scroll bars. To place a control further down the page put paragraph tags

in
your page until you reach the point your next control should be placed.

In other words you have to place all your controls on the page using html tags (paragraph tags, break tags, or tables to name a few) or using
cascading style sheets to "place" each component.

I hope this helps.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"David A. Beck" <da****@beckb.com> wrote in message
news:uf**************@TK2MSFTNGP11.phx.gbl...
I'm working on a project that has several aspx webforms. I'm runniung
in to
a problme where the document length is not allowing me to add
controls. The
scrollbar in the design mode is disabled it seems. It's as if the
length is
fixed not allowing for scrolling down the page. I know this must be a

simple
thing, but can't seem to find it. Thank anyone for their assistance.

David A. Beck



Nov 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: 2obvious | last post by:
This is a pipe dream, I realize, but I'm trying to emulate the functionality of the W3C DOM-supported document.getElementsByTagName method under the very nightmarish Netscape 4. Through some...
6
by: David List | last post by:
I'm having a problem using different properties of the document object in the example javascripts in my textbook with browsers that identify themselves as using the Mozilla engine. One example of...
2
by: Aaron | last post by:
Hi, I've seen javascript code where a constructor function is passed an argument "document", and inside the function itself the assignment "this.document = document;" is made. This is the code...
15
by: lawrence | last post by:
Sorry for the dumb question but I'm new to Javascript. I wrote this script hoping to animate some div blocks on a page. You can see the page here: http://www.keymedia.biz/demo.htm Can anyone...
12
by: Kepler | last post by:
How do you get the height of the client browser in IE? Both document.body.clientHeight and document.body.offsetHeight return the height of the document. If the page is long and there's a vertical...
7
by: michael | last post by:
apologies in advance, as not only am i new to learning how to code javascript properly, i'm new to the groups posting thing... i am developing in firefox 1.0+, but will be working in an msie 6.0+...
4
by: millw0rm | last post by:
Hi wats wrng with this code??? it works fine on IE6 but not on FireFox 1.5??? var anOption = document.createElement("OPTION"); document.getElementById("category").options.add(anOption);...
29
by: Nick | last post by:
I've seen a few frameworks use the following: function $(id) { return document.getElementById(id); } Then to use: $('something').innerHTML = 'blah'; I'm just trying to roll this out to my...
1
by: raviviswanathan.81 | last post by:
Hello, So we have a webmaster who sets document.domain to some domain. After that, we try to create and inject text inside an iframe by getting the iframeID.contentDocument (or...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.