RadToolTip and ManualClose property

2 posts, 0 answers
  1. PPSDevs
    PPSDevs avatar
    21 posts
    Member since:
    Mar 2009

    Posted 05 Nov 2009 Link to this post

    I am using RadToolTip in my application to show the help. I have set the property "ManualClose" to TRUE, but I want to display the text right beside the close button, so that when user clicks either text or the button, tooltip gets closed. How can I put the text "Close" beside close button and code it so that desired functionality is achieved.
  2. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 06 Nov 2009 Link to this post

    Hello Manjeet,

    You can try with the following setup:

    <telerik:RadToolTip ID="RadToolTip1" runat="server" RelativeTo="Element" TargetControlID="Button1"
        ShowEvent="OnMouseOver" Width="100px" Height="20px" Position="MiddleRight" HideEvent="ManualClose">
        <asp:Label ID="lbl1" runat="server" Text="Click me" onclick="hideTooltip()"></asp:Label>
    <asp:Button ID="Button1" runat="server" Text="Hover me" />
    <script type="text/javascript">
        function hideTooltip()
            var tooltip = $find("<%= RadToolTip1.ClientID %>");

    I hope this helps.

    Sincerely yours,
    Georgi Tunev
    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