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

Cannot set appointment tooltips when using web service binding

3 Answers 69 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Mark Rabjohn
Top achievements
Rank 1
Mark Rabjohn asked on 28 Apr 2010, 10:18 AM
Hi,

I'm using a web service to populate a scheduler with appointments, and I have set the Tooltip property on the appointment to a fixed literal string "Customer Name". Unfortunately the grid has a hover over tooltip that contains the Subject i.e. the same information as already displayed on the box.

In debugging on the client side, I can see that the _Tooltip property of the client side appointment is indeed the same as the subject.

How can I get informational tooltips working in this environment?

Does anybody have an example of a scheduler, using web service binding, and displaying informational tooltips, either as standard or using a RadTooltip control?

Cheers.

Mark

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 29 Apr 2010, 03:07 PM
Hi Mark,

You can handle OnClientAppointmentCreated to set the tooltip:
eventArgs.get_appointment().set_toolTip("custom tooltip");


Regards,
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
Mark Rabjohn
Top achievements
Rank 1
answered on 30 Apr 2010, 08:16 AM
Hi Peter,

I presume that I then have to grab the tool tip content from my web service? I would have to return all the tool tips for visible appointments in one web service call however.

Clearly this is a workaround, because the component should accept tool tips from the web service as a part of the appointment structure shouldn't it?


Anyhow, the client is interested in displaying lots of info in a tool-tip/popup, so how would I go about using the RadTooltip component with an appointment? Can this be done using the OnClientAppointmentCreated callback? or is there a more efficient way?

Cheers,

Mark


0
Peter
Telerik team
answered on 06 May 2010, 02:30 PM
Hello Mark Rabjohn,

Yes, you can use RadToolTip with web service. Please, see the following demos:

http://demos.telerik.com/aspnet-ajax/tooltip/examples/webservice/defaultcs.aspx

http://demos.telerik.com/aspnet-ajax/tooltip/examples/webserviceandshow/defaultcs.aspx


Regards,
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.
Tags
Scheduler
Asked by
Mark Rabjohn
Top achievements
Rank 1
Answers by
Peter
Telerik team
Mark Rabjohn
Top achievements
Rank 1
Share this question
or