Thread is closed for posting
2 posts, 0 answers
  1. Sieu
    Sieu avatar
    2 posts
    Member since:
    Jun 2007

    Posted 25 Jun 2007 Link to this post


    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.


  2. Boyko Markov
    Boyko Markov avatar
    610 posts

    Posted 26 Jun 2007 Link to this post

    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,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top