how to hide tooltip server side

4 posts, 0 answers
  1. Gina
    Gina avatar
    25 posts
    Member since:
    Jun 2007

    Posted 11 Sep 2009 Link to this post

    I am tring to hide a tooltip on the server side but i am lost... Can someone help me. here is the Javascript i have and the tooltip.


    function HideTooltip() {

    var tooltip = Telerik.Web.UI.RadToolTip.getCurrent();

    if (tooltip) tooltip.hide();



    <telerik:RadToolTip runat="server" ID="rttLnameCk" ShowCallout="false" Position="MiddleRight"


    <asp:CheckBoxList ID="cblLastName" runat="server" CellSpacing="0" CellPadding="0">


    <asp:Button ID="btSelect" runat="server" Text="Select" OnClientClick="InsertName(); return false;" />



     thank you for all your help


  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 12 Sep 2009 Link to this post

    Hi Gina,

    Here is the forum link which discusses how to close the tooltip from code behind.
    Closing tooltip server-side

  3. DevCraft R3 2016 release webinar banner
  4. Gina
    Gina avatar
    25 posts
    Member since:
    Jun 2007

    Posted 14 Sep 2009 Link to this post

    would it be the same for C# ?  I get syntax errors  for ([GetType](), "rttName", " CloseActiveToolTip();")

    is this correct on what i need in the back end to close the tooltip ?

    "rttName", " CloseActiveToolTip();")


  5. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 16 Sep 2009 Link to this post

    Hello Gina,

    As far as I see from your code the problem comes from the manner you have taking the type - this is teh way you do it in VB and in C# it should be:

    ClientScript.RegisterStartupScript( this.GetType(), "rttName", " CloseActiveToolTip();")

     You can find more information about executing script from the server in the blogpost below:

    Kind regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top