Calendar with RadTooltipManager gets two tooltips

3 posts, 1 answers
  1. Jenny
    Jenny avatar
    6 posts
    Member since:
    Oct 2010

    Posted 27 Oct 2010 Link to this post

    I have changed the default tooltip of the controls to a Telerik tooltip by adding a RadTooltipManager and set the AutoTooltipify-property to true. This works fine for all controls but the Calendar.
    The calendar date tooltips looks good at first showing only the Telerik tooltip. But after changing e.g. the month two tooltips appear when hovering a date - both the default tooltip and the Telerik tooltip.

    Any help on how to make only the Telerik tooltip appear would be greatly appreciated!
  2. Answer
    Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 01 Nov 2010 Link to this post

    Hello Jenny,

     Thank you for the provided screenshots, I examined them and as far as I can see the problem is that double tooltips are shown - one which is the standard one and one which is generated by the tooltip manager. To avoid this you should force the retooltipification just after the view is changed as shown below:

    Copy Code
    <script type="text/javascript">
        function OnCalendarViewChanged(sender, args)
        {
            $find("<%=RadToolTipManager1.ClientID %>").tooltipify(sender.get_element());
        }
    </script>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <telerik:RadCalendar ID="calendar" runat="server" ClientEvents-OnCalendarViewChanged="OnCalendarViewChanged">
    </telerik:RadCalendar>
    <telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" AutoTooltipify="true"
        Skin="Black">
    </telerik:RadToolTipManager>

    Please, test this solution and in case the issue persists - send me a simple reproduction page along with detailed reproduction steps and explanations and I will do my best to help.

    Greetings,
    Svetlina
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jenny
    Jenny avatar
    6 posts
    Member since:
    Oct 2010

    Posted 01 Nov 2010 Link to this post

    It works, thank you!
Back to Top