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

[Solved] Problem with association RadScheduler/RadTooltipManager

3 Answers 143 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Cedric STEPHAN
Top achievements
Rank 1
Cedric STEPHAN asked on 17 Feb 2010, 10:26 AM
Hello,

I successfully associated RadScheduler and RadTooltipManager to show custom tooltip for my appointment. I only work with the timeline view but I have a problem in a particular case.

When an appointment cannot be shown entirely in the period displayed, a link in the appointment allow the users to go to the next period in order to see the next part of the appointment.
If I set the ShowEvent property of the RadTooltipManager to "OnClick", the tooltip behave as wanted but the link previously mentionned doesn't work anymore.

Could you help me to have this link work even if the tooltip should appear only after a click ?

Thanks

Cedric

3 Answers, 1 is accepted

Sort by
0
Cedric STEPHAN
Top achievements
Rank 1
answered on 18 Feb 2010, 02:53 PM
Does someone already faced this problem?
0
Accepted
Peter
Telerik team
answered on 22 Feb 2010, 10:52 AM
Hello Cedric STEPHAN,

That's expected, but you can achieve the same effect by setting ShowEvent="FromCode" for RadToolTipManager and handling OnClientAppointmentClick as follows:

function OnClientAppointmentClick(sender, eventArgs) {
              var appElement = eventArgs.get_appointment().get_element();
              var tooltipManager = $find('<%=RadToolTipManager1.ClientID %>');
              var tooltip = tooltipManager.getToolTipByElement(appElement);
              if (!tooltip)
                  tooltip = tooltipManager.createToolTip(appElement);
              tooltip.show();

Here is an online demo of the client API of RadToolTip:
http://demos.telerik.com/aspnet-ajax/tooltip/examples/tooltiptreeview/defaultcs.aspx


All the best,
Peter
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.
0
Cedric STEPHAN
Top achievements
Rank 1
answered on 22 Feb 2010, 01:05 PM
Thanks everything is ok now !

Cedric
Tags
Scheduler
Asked by
Cedric STEPHAN
Top achievements
Rank 1
Answers by
Cedric STEPHAN
Top achievements
Rank 1
Peter
Telerik team
Share this question
or