I'm trying to develop a tabstrip where the selected css and the hovered css are the same. However, what happens is the following:
- When the tab is selected, hover over over the selected item.
- Mouse away from the selected tab
- The selected tab no longer returns back to its selected css state, it returns back to the css class of the tab instead.
See the below code snippet for an example. Is there an easy solution i'm missing?
Thanks again or the help!
- Pat
- When the tab is selected, hover over over the selected item.
- Mouse away from the selected tab
- The selected tab no longer returns back to its selected css state, it returns back to the css class of the tab instead.
See the below code snippet for an example. Is there an easy solution i'm missing?
<%@ Page Language="C#" AutoEventWireup="true" Inherits="Testing2.TestRadTabs" %><%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title>Test with Tabs</title> <style type="text/css"> .tabCSS { background-color:#cde3ee; color:White; padding-top:5px; padding-bottom:5px; font-size:14px; font-weight:bold; } .selectedCSS { background-color:#5ba7cb !important; color:White; padding-top:5px; padding-bottom:5px; font-size:14px; font-weight:bold; } </style></head><body> <form id="form1" runat="server"> <asp:ScriptManager ID="sm" runat="server"></asp:ScriptManager> <telerik:RadTabStrip ID="tsMessages" runat="server" Width="100%" MultiPageID="mpMessages" EnableEmbeddedSkins="false"> <Tabs> <telerik:RadTab Text="Inbox" CssClass="tabCSS" HoveredCssClass="selectedCSS" SelectedCssClass="selectedCSS" Selected="true"></telerik:RadTab> <telerik:RadTab Text="Sent" CssClass="tabCSS" HoveredCssClass="selectedCSS" SelectedCssClass="selectedCSS"></telerik:RadTab> <telerik:RadTab Text="Deleted" CssClass="tabCSS" HoveredCssClass="selectedCSS" SelectedCssClass="selectedCSS"></telerik:RadTab> </Tabs> </telerik:RadTabStrip> <telerik:RadMultiPage ID="mpMessages" runat="server"> <telerik:RadPageView ID="pageOne" runat="server" Selected="true"> Inbox messages. </telerik:RadPageView> <telerik:RadPageView ID="pageTwo" runat="server"> Sent messages. </telerik:RadPageView> <telerik:RadPageView ID="pageThree" runat="server"> Deleted messages. </telerik:RadPageView> </telerik:RadMultiPage> </form></body></html>Thanks again or the help!
- Pat