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

Child tab not getting the theme

2 Answers 42 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
NVB
Top achievements
Rank 1
NVB asked on 02 Feb 2012, 07:13 PM
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 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 03 Feb 2012, 05:59 AM
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.
0
NVB
Top achievements
Rank 1
answered on 03 Feb 2012, 10:36 PM
Thanks Shinu,
Tags
TabStrip
Asked by
NVB
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
NVB
Top achievements
Rank 1
Share this question
or