This is a migrated thread and some comments may be shown as answers.

RadTooltip For RadTabStrip

1 Answer 85 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Dipti
Top achievements
Rank 1
Dipti asked on 15 Dec 2008, 11:31 AM
Hi Svetlina ,

I want to implement radtooltip for rad tabstrip


 if (!Page.IsPostBack)
        {
            
            AddTab("PathwayMain");
            AddPageView(RadTabStrip1.FindTabByText("PathwayMain"));
            AddTab("Categories");
            AddTab("New Pathways");
      
        }
the radtabstrip is generated dynamically by taking user controls.
i want tolltify the first tab(PathwayMain) not others or whole tab.


Any suggestion really appreciated

Thanks
Chris


1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 18 Dec 2008, 08:10 AM
Hello Dipti,

I am not sure about your exact scenario but the easiest way to achieve the desired behavior is to set the ToolTip property only of the desired RadTabe and then add a RadToolTipManager control with its AutoToolTipify property set to true:


markup:

   <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
        <telerik:RadTabStrip ID="RadTabStrip1" runat="server">  
        </telerik:RadTabStrip> 
        <telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" AutoTooltipify="true">  
        </telerik:RadToolTipManager> 


code-behind:

    protected void Page_Load(object sender, EventArgs e)  
    {  
        if (!Page.IsPostBack)  
        {  
            AddTab("PathwayMain");  
            RadTab tab = RadTabStrip1.FindTabByText("PathwayMain");  
            tab.ToolTip = "ToolTip Text Here";  
            AddPageView(tab);  
            AddTab("Categories");  
            AddTab("New Pathways"); 


Regards,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ToolTip
Asked by
Dipti
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or