Hi,
I am using a web application, which does not have a master page. I have a header.ascx page, in which I have declared TabStrip. The tabstrip is displaying fine, but on selecting a page, the tab header color is not getting changed and also not showing sub tabs.
I used the below code:
Header.ascx:
<
telerik:RadTabStrip
ID
=
"MyTab1"
CausesValidation
=
"false"
SelectedIndex
=
"0"
runat
=
"server"
Skin
=
"Forest"
EnableEmbeddedSkins
=
"false"
>
<
Tabs
>
<
telerik:RadTab
runat
=
"server"
Text
=
"Home"
NavigateUrl
=
"~/abc.aspx"
>
</
telerik:RadTab
>
</
Tabs
>
</
telerik:RadTabStrip
>
In abc.aspx, I have referenced the header.ascx page, and I am trying to use the radtab as below in cs code:
RadTabStrip menuStrip = (RadTabStrip).FindControl("RadTab");
menuStrip.FindTabByValue("abc").Selected = true;
How to refer the tab strip in subsequent pages?
Thanks