This is a migrated thread and some comments may be shown as answers.

RadTabstrip

1 Answer 201 Views
Tabstrip (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sieu
Top achievements
Rank 1
Sieu asked on 25 Jun 2007, 03:26 PM
Hello,

If I want to check all the controls in a tabpage how can I do that?  We used to have tabpage.controls in VB.net, but controls is not a memeber of Radtabstrip.tabitem.  please help.

Thanks,

Sieu

1 Answer, 1 is accepted

Sort by
0
Boyko Markov
Telerik team
answered on 26 Jun 2007, 01:42 PM
Hi Sieu,

RadTabStrip control extends the functionality of the toolbox tabControl, so the API  for looping through all the controls in a RadTabStrip is a bit different. You can find all the controls in a tab page with the TabItem.ContentPanel.Controls property, which is a reference to the Panel control holding the controls in a tab page.

Each TabItem has a property named ContentPanel which is the actual panel that hosts the controls added to that TabItem. To access the controls in a TabItem you can use that property.

The following sample code hides the panel hosting the controls in a TabItem:

e.g. tabItem1.ContentPanel.Visible = false;

ContentPanel is inherited from the default System.Windows.Forms.Panel so it supports all of the functionality of the standard panel control.

If you need further assistance, please write back.
 

Best wishes,
Ray
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Tabstrip (obsolete as of Q2 2010)
Asked by
Sieu
Top achievements
Rank 1
Answers by
Boyko Markov
Telerik team
Share this question
or