473,395 Members | 1,343 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.

Datagrid Grow-Shrink

I have a datagrid and some textboxes and buttons below it. As I add data to
the datgrid it grows vertically (of course) and eventually covers up my
other controls. How do I make my other controls move as the datagrid
changes in size so they always maintain a constant distance from the bottom
edge of the datagrid?

Thanks,
-Carl
Apr 12 '06 #1
2 1714
Carl Tribble wrote:
I have a datagrid and some textboxes and buttons below it. As I add data to
the datgrid it grows vertically (of course) and eventually covers up my
other controls. How do I make my other controls move as the datagrid
changes in size so they always maintain a constant distance from the bottom
edge of the datagrid?

Thanks,
-Carl


Is changing your form's layout to FlowLayout not an option? I assume
you're using GridLayout...

--
Craig
Microsoft MVP - ASP/ASP.NET
Apr 12 '06 #2
I tried changing the pageLayout property for the document from GridLayout
to FlowLayout but when I run the page the result is the same. If there are
too many rows in the datagrid, it extends down and covers up by other
controls. Furthermore as I add and remove rows, the other controls keep
their same relative position on the page even though the datagrid is growing
or shrinking vertically with the number of rows in the data source. Is
there some property of the datagrid or of the other controls that tells them
to move with the datagrid?

Thanks,
-Carl
"Craig Deelsnyder" <cdeelsny@NO_SPAM_4_MEyahoo.com> wrote in message
news:O7**************@TK2MSFTNGP03.phx.gbl...
Carl Tribble wrote:
I have a datagrid and some textboxes and buttons below it. As I add data
to the datgrid it grows vertically (of course) and eventually covers up
my other controls. How do I make my other controls move as the datagrid
changes in size so they always maintain a constant distance from the
bottom edge of the datagrid?

Thanks,
-Carl


Is changing your form's layout to FlowLayout not an option? I assume
you're using GridLayout...

--
Craig
Microsoft MVP - ASP/ASP.NET

Apr 13 '06 #3

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

Similar topics

2
by: Stewart | last post by:
Originally posted in comp.lang.javascript: Newsgroups: comp.lang.javascript From: "Stewart" Date: 23 Aug 2005 02:50:04 -0700 Local: Tues, Aug 23 2005 10:50 am Subject: FireFox, RemoveChild,...
2
by: Stewart | last post by:
Originally posted in comp.lang.javascript: Newsgroups: comp.lang.javascript From: "Stewart" Date: 23 Aug 2005 02:50:04 -0700 Local: Tues, Aug 23 2005 10:50 am Subject: FireFox, RemoveChild,...
3
by: Rakesh | last post by:
Hi, Is there any limit to the number of rows a datagrid can display? Thanks, Rakesh
1
by: Charlie Dison | last post by:
I am using a datagrid bound to a Dataset. The problem is when the dataset has fewer records than the page size for the height, the cells grow automatically. Thus the datagrid with one record grows...
2
by: axapta | last post by:
Hi Group, I seem to be getting horizontal and vertical scroll bars in my datagrid. Where are the settings/what can I do so that the datagrid is fixed and does not grow with the data horizontally...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.