Hi, I am replacing an existing control suite with Telerik and am trying to use the tabstrip to control navigation, with each tab pointing to a .Net page that isn't suitable to be put into a multipage due to complexity.
I found a suggestion in the forums to use an iframe which I have done but I find that when the page is refreshed the selected tab goes back to the first tab and trying to interrogate the iframe src using jquery just seems to bring back the intiailly set src.
Is there a way to persist the selected tab on page refresh?
My code is below.
Thanks, Matt
I found a suggestion in the forums to use an iframe which I have done but I find that when the page is refreshed the selected tab goes back to the first tab and trying to interrogate the iframe src using jquery just seems to bring back the intiailly set src.
Is there a way to persist the selected tab on page refresh?
My code is below.
Thanks, Matt
<
telerik:RadTabStrip
ID
=
"rtsMainTabs"
runat
=
"server"
Width
=
"990px"
CssClass
=
"crmMainTabs"
Skin
=
"Simple"
SelectedIndex
=
"2"
>
<
Tabs
>
<
telerik:RadTab
NavigateUrl
=
"home.aspx"
Text
=
"Front Page"
Target
=
"IFContent"
>
</
telerik:RadTab
>
<
telerik:RadTab
NavigateUrl
=
"Page2.aspx"
Text
=
"Page2"
Target
=
"IFContent"
>
</
telerik:RadTab
>
<
telerik:RadTab
NavigateUrl
=
"Page3.aspx"
Text
=
"Page3"
Target
=
"IFContent"
>
</
telerik:RadTab
>
<
telerik:RadTab
NavigateUrl
=
"Page4.aspx"
Text
=
"Page4"
Target
=
"IFContent"
>
</
telerik:RadTab
>
</
Tabs
>
</
telerik:RadTabStrip
>
<
iframe
name
=
"IFContent"
id
=
"IFContent"
style
=
"width:990px; height:720px;"
src
=
"home.aspx"
></
iframe
>