Using tooltip within an asp panel

3 posts, 0 answers
  1. Clive Hoggar
    Clive Hoggar avatar
    349 posts
    Member since:
    Nov 2008

    Posted 12 Aug 2010 Link to this post


    I am not sure if I am doing the wrong thing here. I have several flag imagebuttons in a master page,
    but the tooltip does not display on hover. I can't see why not. They look like this:
    <asp:ImageButton ID="ImageButtonChinese" runat="server" ImageUrl="~/images/flags/chinese-flag.gif" />
          <telerik:RadToolTip ID="RadToolTipChinese" runat="server" Animation="Fade" 
          TargetControlID="ImageButtonChinese" IsClientID="true" 
          Text="Click flag for Mandarin site" Position="TopRight" >

    The image buttons are made visible or not in code behind, during the page load event.
    What am I missing?

    Thanks for help!


  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 12 Aug 2010 Link to this post

    Hello Clive,

    In order to solve the problem you must set isClientID="false" for RadToolTip which instruct the tooltip for search for target with the ID. For more information on this scenario check out the following forum post.
    RadToolTip does not work on ASPX page inheriting from Master Page


  3. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 17 Aug 2010 Link to this post

    Hi guys,

     Indeed, to solve the issue you should set isClientID to false. However, I want just to clarify that this is not a limitation of the RadToolTip and it is fully functional with MasterPages. The need for this setting comes from the fact that the MasterPage is an INaming Container, such as UserControls, etc and it changes the IDs of the controls in the common case (in ASP.NET 4.0 this could be controlled by the ClientIDMode property). This means that in such scenarios the ID is not the same as the ClientID and you should "inform" the tooltip about this to have everything working correctly. The very same behavior could be reproduced with standard ASP/NET controls and INaming Containers. More information about INaming Containers is available on the net, e.g below:

    I hope that my explanation is detailed enough and helpful, let me know if you have any other questions. 

    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top