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.

tab control inside another tab control

Hi.

Is it possible to put a tab control inside another tab control. I tried
it several times, but for some reason this doesn't seem to work.

Can someone confirm this, or tell me what the trick is.

Thanks.

--
Georges

Nov 12 '05 #1
5 2380
The only way I know to do this is to put a subform on the first tab control.
Then you can put your second tab control on the subform.
If you do this repeatedly, however, you will find the form loading rather
slowly.

HTH
- Turtle

"Georges Heinesch" <ne**@geohei.lu> wrote in message
news:3f**********@news.vo.lu...
Hi.

Is it possible to put a tab control inside another tab control. I tried
it several times, but for some reason this doesn't seem to work.

Can someone confirm this, or tell me what the trick is.

Thanks.

--
Georges

Nov 12 '05 #2
> > Is it possible to put a tab control inside another tab control. I tried
it several times, but for some reason this doesn't seem to work.


I don't recommend using nested tab controls for usability reasons. If
you need to put a lot of information on one form, just use a whole lot
of tab pages. If all the information doesn't fit inside tabs on a tab
control on a 800x600-fitting form, then you need to figure out how to
split the form up into many forms.

For mega-sized forms, if you absolutely must, you can do what a lot of
software vendors do for their "Options" dialog boxes--you can put a
listbox with all the "tab headers" on the left. This can work
cleanly. When a user clicks on one of the "tab headers", you reveal
their tab somewhere to the right on the form. The implementation of
this can allow either using a subform control, or can be done via a
huge tab control. The advantage of using the tab control is that
everything is loaded at once; the disadvantage is also that everything
is loaded at once.

But it's all up to you.
Pete
Nov 12 '05 #3
Pete wrote:
[...]
For mega-sized forms, if you absolutely must, you can do what a lot of
software vendors do for their "Options" dialog boxes--you can put a
listbox with all the "tab headers" on the left. This can work
cleanly. When a user clicks on one of the "tab headers", you reveal
their tab somewhere to the right on the form. The implementation of
this can allow either using a subform control, or can be done via a
huge tab control. The advantage of using the tab control is that
everything is loaded at once; the disadvantage is also that everything
is loaded at once.


Thanks for the hint. Gonna try that one.
Thanks!

--
Georges

Nov 12 '05 #4
MacDermott wrote:
The only way I know to do this is to put a subform on the first tab control.
Then you can put your second tab control on the subform.
If you do this repeatedly, however, you will find the form loading rather
slowly.


Thanks!

--
Georges

Nov 12 '05 #5
If you use subforms on the pages of a tab control, you can avoid the disadvantage by late
binding the subforms.

http://www.fmsinc.com/free/tips.html#accesslatebind

Tom
________________________________________

"Pete" <ps********@zombieworld.com> wrote in message
news:98**************************@posting.google.c om...

<snip>

The advantage of using the tab control is that everything is loaded at once; the
disadvantage is also that everything
is loaded at once.
Nov 12 '05 #6

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

Similar topics

2
by: Pham Nguyen | last post by:
Has anyone seen an example of a textbox server control that has built-in client-side validation? I'd like to build a server control that extends the System.Web.UI.WebControls.TextBox class to allow...
2
by: Jim Heavey | last post by:
I am trying to figure out what the difference is between these 2 commands and which I should be using...what the difference is... I placed this tag on my form... <div id="fred"...
2
by: John Lau | last post by:
Hi, Is there documentation that talks about the page lifecycle, the lifecycle of controls on the page, and the rendering of inline code, in a single document? Thanks, John
3
by: DC Gringo | last post by:
I've got a web user control (a) inside a web user control (b) inside a webform (c). I need the webform to set a label control text value inside the inner of the two web user control. Inside my...
8
by: Ravi Ambros Wallau | last post by:
Hey guys: What can I do when an "Error Creating Control" is displayed on the form (instead of the control), and a tooltip indicating the error never is displayed? Is there some log, some hidden...
7
by: | last post by:
Hello, Does anyone have an idea on how I can filter the data in the gridview control that was returned by an sql query? I have a gridview that works fine when I populate it with data. Now I...
8
by: fernandezr | last post by:
I would like to use a user control as a template inside a repeater. Some of the fields in the control should be hidden depending on whether or not there is data. I'm still a ASP .Net newbie so the...
4
by: Sevu | last post by:
I am working with ASP.NET.I am using ReportViwer Control to show my report.I like to add dropdownlist with in the reportviewer control. ( Not top to the control some thing like that).I need to...
5
by: Alex Maghen | last post by:
Hi. If I create a WebControl (User Control, actually), I know how, easily, to access the design-time Properties that have been set as Propertiy nodes in the tag used on the ASPX page. But I've...
0
by: davidr | last post by:
Hi, I have a panel that I load user Control in no problem. The problem arrises when I do a post back on one of these user controls. I have button it does a click event. In this click event I...
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: 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
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...
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
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
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
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.