473,785 Members | 2,842 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

preventing data grid collision

What is the best mechanism/ convention for preventing
stacked datagrids from overlapping each other?

I'd like to do something similar to a "can shrink/can grow" in an Access
report
for an aspx page which displays stacked grids.

For example:
DG_Allergies
DG_Benefits

It's possible for a patient to have 10 allergies, but my grid only has
enough space for 5 before it crashes into the Benefits grid

Of course, making room for 10 when only 1 record is in the grid seems
wasteful of real estate, and the majority of people may only have 2 or 3.

Apr 27 '06 #1
1 1602
Could it be that the answer was so simple that nobody wanted to answer it?
Ok, for the benefit of anyone who needed to know the answer -

If anyone is having this problem -
All you have to do to keep vertically laid out datagrids from crashing into
each other"
No need for scrolling divs,
Flow layout... nothing complex

just put them in a 'Table'!!!!
each cell will automatically expand down, thus preventing the collisions.


"jonefer" wrote:
What is the best mechanism/ convention for preventing
stacked datagrids from overlapping each other?

I'd like to do something similar to a "can shrink/can grow" in an Access
report
for an aspx page which displays stacked grids.

For example:
DG_Allergies
DG_Benefits

It's possible for a patient to have 10 allergies, but my grid only has
enough space for 5 before it crashes into the Benefits grid

Of course, making room for 10 when only 1 record is in the grid seems
wasteful of real estate, and the majority of people may only have 2 or 3.

May 2 '06 #2

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

Similar topics

2
4881
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 five tables, and three relations that I want to take advantage of. Everything works fine however I want to use the data grid table style editor to make it look more presentable. Currently I have successfully done this
5
2517
by: pmud | last post by:
Hi, I need to display columns in a data grid based on 7 different queries. Now I have 32 questions: 1. Is it possble to have 1 single data adapter with 7 queries & 1 data set or do I need to have a separate data adapter & a separate data set for each select query? If thats possible then how?
5
10126
by: Petec | last post by:
Is there a way to prevent a form from getting focus? Thanks! - Pete
4
1755
by: Brian Basquille | last post by:
Hello all, Well, we've gotten to it: the real meaty area of my Air Hockey game.. Any help or suggestions for the following would be much appreciated. In plain terms: My paddle needs to be able to strike the puck and move in the direction opposite to which it was struck (a simple collision, basically!)
2
2507
by: Josef Meile | last post by:
Hi, I'm using a ComboBox, some Textboxes, and a DataGrid to represent a many-to-many relationship between Person and Course. Each time that I change the value in the ComboBox (which for now is the OID of Person), the information of the person matching the selected OID is shown in the Textboxes (Name, Address, id, etc) and the courses this person is taken are shown in a DataGrid (course name, price, etc.). This is working well so far, I...
0
876
by: Doc Dunning | last post by:
Hi all, This seems such a simple problem to me but I can't find the answer after *much* searching. I have an application using bound controls to browse / update a database table of club member details. It uses a data grid view to scroll up and down the list of names, and if I select a row, then some bound text boxes show the details for the person I've selected. I can edit the text boxes, and when I click a different row in the...
4
2764
by: king | last post by:
I have an application which links to a 3rd-party shared library(say a) and dlopens another one(say b). And each of those 3rd party shared libraries requires another shared library respectively(say c &d). I am facing a problem that there is a symbol collision between the shared libraries c & d which is causing problem for me MyAPP------links----a.so -----------requires----->c.so |----------dlopens------>b.so---------requires------->d.so ...
0
2170
by: licombo | last post by:
I am making a flash game which is similar to the classic game Asteroids. I am stuck in the final step of the game where I have to make the collision detection working before the whole game is functioning.. My problem is I cannot figure it out how can I make the collision detection working in my game..because those asteroids are coded to appears on the stage every five seconds from the library, so I cannot give the asteroids an instance name...
1
9564
by: May Amor | last post by:
Helu gurus!!! I have a code below about hashing method with collision resolution...My problem is how to use the collsion resolution again if the hash index though has already a value. Please kinda help me with this..I want to determine also if the table now is full so as to stop user from entering a key. size of the table=19, Thanx a lot..GodBless ________________________________________________ #include<iostream.h> #include<conio.h> ...
0
9645
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10151
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9950
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8973
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6740
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.