This is a migrated thread and some comments may be shown as answers.

DatePicker wrong Tooltip

1 Answer 69 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Andreas Karpinski
Top achievements
Rank 1
Andreas Karpinski asked on 30 Mar 2011, 09:22 AM

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

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 04 Apr 2011, 10:30 AM
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
Tags
ToolTip
Asked by
Andreas Karpinski
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or