DatePicker wrong Tooltip

2 posts, 0 answers
  1. Andreas Karpinski
    Andreas Karpinski avatar
    8 posts
    Member since:
    Sep 2009

    Posted 30 Mar 2011 Link to this post

    Hi,

    I’ve got a problem using the RadTooltipManager combined with RadDatePicker. I was able to fix the Problem on Firefox but not on IE and I don’t know what to do to get it work.

    The problem is that the RadToolTip shows the wrong date as you can see on Screenshot 1.

    After adding the Calendar-ClientEvents-OnCalendarViewChanged event to the DatePicker with the following JS-function


    function OnCalendarViewChanged(sender, args) {
                        element = sender.get_element();
                        tooltipmanager = $find("<%=RadToolTipManager1.ClientID %>");
                        tooltipmanager.tooltipify(sender.get_element());
                    }


    the problem is solved in FireFox as you can see on Screenshot 2. But in the IE the problem still exists…

    I hope you are able to help me to fix this.

    I'm using the Version 2010.3.1502.35

  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 04 Apr 2011 Link to this post

    Hello Andreas,

    Actually, this scenario is more complex than it looks like. This is so due to a few facts, e.g all the cells in a view have the same IDs, their titles are set on the client and the tooltips remove them the first time they go over them, etc.

    I prepared for you a sample demo and I attached it to the thread - please examine it and let me know how it goes.

    Note, however, that it uses an override for one of the calendar methods - this is needed to remove the standard tooltips on first hover.

    Best wishes,
    Svetlina
    the Telerik team
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top