473,761 Members | 1,784 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2396
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********@zom bieworld.com> wrote in message
news:98******** *************** ***@posting.goo gle.com...

<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
3921
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 javascript checks for things like valid e-mail addresses or phone numbers (without having to add a separate control for validation). One idea I did some work on was having the control implement the IValidator interface and basically recreating...
2
7622
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" runat="server"></div> I wrote these 2 statements to find the control.... HtmlGenericControl cntrl = (HtmlGenericControl) Page.Controls .FindControl(CntrlName);
2
3628
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
1660
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 web form's code behind I have: mainHeader1.sectionHeader1.theSectionHeader.text = "Eritrea" I'm getting "mainHeader1 is not declared" error. What am I doing wrong?
8
2116
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 message, some entry in registry where a log is created (or that enables a log, trace, dump or whatever)... I'm a little bit frustated with this error :-( Tks, Ravi.
7
14818
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 want to look at that data and filter it based on what is in it. I know that this could have been done with data sets and data views in asp.net 1.1 but how is this done now in asp.net 2.0?
8
3026
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 way I'm going about doing this might be a little off. I'd appreciate some help. Below is the code I have thus far but I'm not sure how to reference the user control within the foreach loop. <asp:Panel ID="pnlRosterProfile" runat="Server" />
4
4475
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 place dropdown near to Export link ( Excel and PDF Export).Is it possible to add at the dropdown list with in report viewer control?. I found the property as ReportViewer.Controls.Add.But its not working.Please help me. Regards, S.Sevugan.
5
1869
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 never tried having CONTENT inside my Control's Tag, e.g.: <Ax:MyCtl id="Something" runat="server"> Some stuff inside the tag </Ax:MyCtl> How do I access the body from the code of my Control (i.e. above, "Some
0
3439
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 will do some database updates, then I will use reflection to call a method in the parent (this.page) to load the new user control. Its at this point after it loads the new user control that it throws the error "The control must be placed inside...
0
9554
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
9377
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,...
1
9925
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9811
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
8814
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...
1
7358
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3913
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
3509
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.