473,399 Members | 3,656 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,399 software developers and data experts.

Grid Like Display for Controls

Tom
I need to display a series of controls (in my case, a custom control) in a
grid-like fashion. This means this particular control would be repeated
multiple times, arranged in a row/column format. It would also support
scrolling, and fixed/scrollable headers/footers. Basically just like a grid
control, but has the capability to use a custom control for each cell.

I don't think the grid control (nor the True DB Grid .NET control that we
use) supports putting other (custom) controls into the cell (and then
allowing the user to use that control). I've tried a series of panels,
etc.... but I run into problems with scrolling of the headers/footers, etc.

Just wondering if someone else has also had this problem, or if anyone know
of a grid control that supports this. Thanks for any info.

Tom
Nov 21 '05 #1
2 1835
Bob
Parent your controls into the grid and have them track the cells they're
supposed to be in. Move them on scroll, resize them on row/column size
changes, etc. It's not that difficult, at least I've had no problems doing
it with C1's FlexGrid. You can prevent headers and footers from moving by
either not having them pareted in the grid in the first place or having them
follow the rectangles of cells in 'fixed' rows/columns.

You may also want to examine the possibility of manually painting what you
need the user to see in the grid cells and just handling clicks and other
events right there, especially if you're going to have a lot of rows and
columns.

HTH,
Bob

"Tom" <to*@nospam.com> wrote in message
news:ON****************@tk2msftngp13.phx.gbl...
I need to display a series of controls (in my case, a custom control) in a
grid-like fashion. This means this particular control would be repeated
multiple times, arranged in a row/column format. It would also support
scrolling, and fixed/scrollable headers/footers. Basically just like a grid control, but has the capability to use a custom control for each cell.

I don't think the grid control (nor the True DB Grid .NET control that we
use) supports putting other (custom) controls into the cell (and then
allowing the user to use that control). I've tried a series of panels,
etc.... but I run into problems with scrolling of the headers/footers, etc.
Just wondering if someone else has also had this problem, or if anyone know of a grid control that supports this. Thanks for any info.

Tom

Nov 21 '05 #2
Hi,

http://dotnet.leadit.be/extendeddata...?category=Home

Ken
-----------------
"Tom" <to*@nospam.com> wrote in message
news:ON****************@tk2msftngp13.phx.gbl...
I need to display a series of controls (in my case, a custom control) in a
grid-like fashion. This means this particular control would be repeated
multiple times, arranged in a row/column format. It would also support
scrolling, and fixed/scrollable headers/footers. Basically just like a grid
control, but has the capability to use a custom control for each cell.

I don't think the grid control (nor the True DB Grid .NET control that we
use) supports putting other (custom) controls into the cell (and then
allowing the user to use that control). I've tried a series of panels,
etc.... but I run into problems with scrolling of the headers/footers, etc.

Just wondering if someone else has also had this problem, or if anyone know
of a grid control that supports this. Thanks for any info.

Tom

Nov 21 '05 #3

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

Similar topics

2
by: Jordan O'Hare | last post by:
Hello Everyone, I am after some help with the following: I have a windows application that contains a list box and two data grids. All three controls are binded to a dataset that contains...
0
by: Dave Veeneman | last post by:
I couldn't find any postings on how to turn the VS.Net positioning grid on and off in the Google archives, so I'm adding this posting for future reference. The VS.Net positioning grid is...
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...
3
by: Kenneth P | last post by:
Hi, I've planned an app where there's a lot of columns in a table and because of that I'd like to split up the columns when presenting them in a datagrid. I'll give you an example. It's always...
6
by: Tom | last post by:
I need to make up a 'grid' of controls at run time. The controls (of which I wrote) I will instantiate, then I need to arrange these in a row/column layout. For example, let's say I instantiate 20...
0
by: Workgroups | last post by:
Not sure the best way to go about making this: I have 3 user defineable values - Width, Height, and Size. These values need to define a "grid" of some kind in the following manner: The Width is...
3
by: Dave | last post by:
I am designing a web page using VS2003 ASP.NET. The page contains various DIVs (panels), one of which is in grid layout. The controls in this DIV render correctly in IE, but when using Firefox they...
1
by: sonali_aurangabadkar | last post by:
i want to edit whole grid on singel button click
2
by: Mark Collard | last post by:
I've noticed that when you add a ToolTip component to a Form (or UserControl) the other controls on the form display a property in the property grid called "ToolTip on toolTip1", so you can set the...
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
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
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
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.