I have a tab strip defined like this ...
Now, if I have a 2nd-level tab on tsDetails selected and run this fowllowing javascript ...
What happens is that the relevant PageView shows, suggesting that the correct tab has been selected. However, the tabstrip itself doesn't change.
Rightly or wrongly, I was expecting the top-level tab "Search" to be come active and the relevant 2nd-level tab to be selected.
Either I'm doing it wrong, my expectations are incorrect or it's broken.
Anyone care to hazard a guess?
[later]
I suspect my expectations are wrong :-( as it works as I've described on this demo page too.
<telerik:RadTabStrip runat="server" ID="RadTabStrip1" MultiPageID="RadMultiPage1" ScrollChildren="true" ScrollButtonsPosition="Right" PerTabScrolling="true" SelectedIndex="0"> <Tabs> <telerik:RadTab Value="tsSearch" Text="Search" ScrollChildren="true" ScrollButtonsPosition="Right" PerTabScrolling="true"> <Tabs> <telerik:RadTab Value="tsSearchBasic" Text="Quick" PageViewID="pvSearchBasic"/> <telerik:RadTab Value="tsSearchAdvanced" Text="Advanced" PageViewID="pvSearchAdvanced"/> </Tabs> </telerik:RadTab> <telerik:RadTab Value="tsDetails" Text="Details" ScrollChildren="true" ScrollButtonsPosition="Right" PerTabScrolling="true"> <Tabs> <telerik:RadTab Value="tsBusiness" Text="Business" PageViewID="pvBusiness"/> <telerik:RadTab Value="tsPersonal" Text="Personal (Phone/Email)" PageViewID="pvPersonal"/> <telerik:RadTab Value="tsPostal" Text="Personal (Address)" PageViewID="pvPostal"/> </Tabs> </telerik:RadTab> </Tabs> </telerik:RadTabStrip>Now, if I have a 2nd-level tab on tsDetails selected and run this fowllowing javascript ...
startTab = tabStrip.findTabByValue("tsSearchBasic"); if (startTab != null) { startTab.select(); startTab.scrollIntoView(); }What happens is that the relevant PageView shows, suggesting that the correct tab has been selected. However, the tabstrip itself doesn't change.
Rightly or wrongly, I was expecting the top-level tab "Search" to be come active and the relevant 2nd-level tab to be selected.
Either I'm doing it wrong, my expectations are incorrect or it's broken.
Anyone care to hazard a guess?
[later]
I suspect my expectations are wrong :-( as it works as I've described on this demo page too.