473,405 Members | 2,154 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,405 software developers and data experts.

Sizing a Grid Layout control?

In order to constrain the screen real-estate a datagrid takes, I use an HTML
Grid Layout Control with scrollbars. One problem, however is that the
datagrid changes horizontal size depending on what's being displayed. It
would be nice to be able to adjust the horizontal width of the Grid Layout
Control so that the vertical scroll bar would always hug the right side of
the grid regardless of the dynamic width.

Is there any way to make this happen?

Is there any other kind of control that could accomplish this goal?

Thanks,
T
Nov 19 '05 #1
1 1222
Hello Tina -

I don't know about using an HTML Grid Control, but if you take a regular
asp:datagrid, throw it into a table and set the width of the grid to 100%, it
keeps the right-hand side intact.

Hope this helps!
--
Sandy
"Tina" wrote:
In order to constrain the screen real-estate a datagrid takes, I use an HTML
Grid Layout Control with scrollbars. One problem, however is that the
datagrid changes horizontal size depending on what's being displayed. It
would be nice to be able to adjust the horizontal width of the Grid Layout
Control so that the vertical scroll bar would always hug the right side of
the grid regardless of the dynamic width.

Is there any way to make this happen?

Is there any other kind of control that could accomplish this goal?

Thanks,
T

Nov 19 '05 #2

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

Similar topics

1
by: john menke | last post by:
I am new to .Net and have a requirements for a project that we zoom a grid control when it's clicked. This grid will contain a yellow pages like listing and be displayed on a form with other grids...
4
by: NWx | last post by:
Hi, I develop an ASP.NET app which should be used from Internet, so I don't have control over what browsers will be used. I don't want to target every possible users, so I don't really mind is...
6
by: Don Collins | last post by:
Can anyone point me to a white paper discussing the advantages / disadvantages to using “grid layout” vs. “flow layout” on webforms? I’m looking to address performance issues in particular.
2
by: Antoine | last post by:
I would like to construct my own list of items in a grid/ table/ item list layout but I have a problem. I want to add a sort of index row based on time, such as there might be blank values. Sure...
117
by: phil-news-nospam | last post by:
Is there really any advantage to using DIV elements with float style properies, vs. the old method of TABLE and TR and TD? I'm finding that by using DIV, it still involves the same number of...
5
by: lamxing | last post by:
Hi, I've come across a strange problem with the WinForm's sizing. I've designed a WinForm and it runs fine on my computer and some other PCs. But when I was trying to run the app under some PCs...
1
by: Silicon Strawberry | last post by:
Hello, When I do the following: - create a layout grid by going 'Layout' 'Insert Table'; - accept the default settings (3 x 3 grid); - drag a text box from the toolbox on the centre cell...
3
by: Andrus | last post by:
In VCSE 2008 B2 I created WPF form, added grid an ran it. Form does not show grid. Where to find sample which allows to edit object collection returned by Linq-SQL in WPF grid ? Andrus.
6
by: Romulo NF | last post by:
Greetings again to everyone, Im back to show this grid componenet ive developed. With this grid you can show the data like a normal table, remove the rows that you need, add rows, import data,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
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 projectplanning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.