Thanks!
Hello,
I’m encountering a problem with a scheduler populated on client side with a web service and Tooltips generated on client side (and loaded with a web service too) in WeekView mode.
The problem appears only for appointments with a different star date & end date day.
For example: 2009/12/26 10:00:00 --> 2009/12/27 14:00:00
In this particular case, as you can see on the screenshot I did, my custom tooltip is displayed correctly on the first part of the appointment corresponding to the first day, but not on the second part corresponding to the second day.
How can I solve this problem?
My code:
| <telerik:RadToolTipManager ID="RadToolTipManager" HideEvent="ManualClose" Animation="None" ShowEvent="OnRightClick" Width="120px" |
| RelativeTo="Mouse" Position="BottomRight" runat="server" > |
| <WebServiceSettings Path="SchedulerWebService.asmx" Method="GetAppointementDetailInfo" /> |
| </telerik:RadToolTipManager> |
Scheduler javascript event:
| function onClientAppointmentCreated(sender, eventArgs) { |
| /*eventArgs.get_domEvent().preventDefault();*/ // Prevent displaying the browser menu |
| var element = eventArgs.get_appointment().get_element(); |
| var EntityID = eventArgs.get_appointment().get_attributes().getAttribute("EntityID"); |
| var tooltipManager = $find("<%= RadToolTipManager.ClientID %>"); |
| //If the user hovers the image before the page has loaded, there is no manager created |
| if (!tooltipManager) return; |
| //Find the tooltip for this element if it has been created |
| var tooltip = tooltipManager.getToolTipByElement(element); |
| //Create a tooltip if no tooltip exists for such element |
| if (!tooltip) { |
| tooltip = tooltipManager.createToolTip(element); |
| tooltip.set_value(EntityID); |
| } |
| } |
Moreover, there is the same problem for appointment during more than a full day and displayed at the top of the scheduler in the ‘all day’ section.
Thank you for you help.
