Child tab not getting the theme

3 posts, 0 answers
  1. NVB
    NVB avatar
    39 posts
    Member since:
    Apr 2009

    Posted 02 Feb 2012 Link to this post

    I have radtab with following code  and building the child tab dynamically. How to set different skin to childtabs built dynamically

     

    <

    telerik:RadTabStrip ID="RadTabStrip1" runat="server" AutoPostBack="true"

    SelectedIndex="1" Width="100%" onclienttabselected="tabClicked" Skin="Web20">

    </telerik:RadTabStrip>


    Server code to add chidltabs

    For Each dr As DataRow In readerdt.Rows
    Dim tab_item As New Telerik.Web.UI.RadTab
    tab_item.Text = dr.Item(0)
    tab_item.SelectedCssClass = tabSelected"
    parent.Tabs.Add(tab_item)
    Next

     

    Thanks

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 02 Feb 2012 Link to this post

    Hello,

     I suppose there is no way to set separate skin for different tab levels in RadTabStrip. You can use cssClass property of the tabs to apply styles to them. Also check the following help documentation.
    Setting the CSS Class of Tabs.

    -Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. NVB
    NVB avatar
    39 posts
    Member since:
    Apr 2009

    Posted 03 Feb 2012 Link to this post

    Thanks Shinu,
Back to Top