I've come across an issue where my TabStrip stops working in Firefox if the page is refreshed via F5 instead of ctrl-F5. I dont have a spot to test if it happens after postback or not. I'm aware that I dont need the JS function to switch tabs..it was just an attempt to fix the issue. I put an alert() in the JS and found its not going into the function at all after a F5 refresh. Do I need to run a reset function or something on the usercontrol pageload or maybe tooltip load? Again, this appears to only be a FF issue...IE works as expected. Using Version 2008.1.515.20.
<rad:RadTabStrip ID="radQPTabs" runat="server" MultiPageID="radmultipage" BorderWidth="0" |
OnClientTabSelected="onSelectedQuickPeekTab" Skin="Vista"> |
<Tabs> |
<rad:RadTab Text="Price" Selected="true" Width="95px"> |
</rad:RadTab> |
<rad:RadTab Text="Details" Width="95px"> |
</rad:RadTab> |
</Tabs> |
</rad:RadTabStrip> |
function onSelectedQuickPeekTab(sender, args) { |
var tabs = args.get_tab(); |
var strTabText = tabs.get_text(); |
if (strTabText.indexOf("Price") > -1) { |
tabs.set_selectedIndex(0); |
} else if (strTabText.indexOf("Details") > -1) { |
tabs.set_selectedIndex(1); |
} |
} |