Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Do This
Message
From
27/03/2009 15:04:13
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Miscellaneous
Thread ID:
01391895
Message ID:
01391900
Views:
66
Hi Kevin,

Just a quick question and thought. Is this Windows or Web forms? In Windows, one thing I have done is stack the grids one on top of the other and just bring the one I want to the front via code. With web, one thing you can try out is that when a grid has no data it doesn't display. You might be able to just get rid of the data for a grid and replace it with another. Alternatively you can just use the same grid and programatically change everything on it to suit the selected usage. There are probably lots of ways to skin this one, and it depends on the look and feel you want. Also, the ways obviously change based on web versus windows.


>I am designing an app that looks something like this: http://www.componentfactory.com/windows-forms-tabcontrol.php
>
>The area under "Family" will contain various types of lists of data, and possibly other controls. To facilitate this I am creating Panes with the grids or controls on them that I want to display, which is determined by what the user clicks on the left side. When the user clicks an item in the left side area, I will remove the current pane and add the selected pane, then load it with any data required.
>
>When the user takes action in the top pane, I want to load the lower pane, so again, remove the lower pane, add the selected pane.
>
>The question is this... How do I manage all of this, meaning, the panes have to be able to commicate with the form, which I could do via an event, but how do I code this if the controls are being added/removed at runtime?
Timothy Bryan
Previous
Reply
Map
View

Click here to load this message in the networking platform