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

Tooltip for Selected Dates

1 Answer 92 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Jatin Aggarwal
Top achievements
Rank 1
Jatin Aggarwal asked on 06 Jan 2010, 11:03 AM
How can we add tooltip or custom tooltip for selected dates ? I have done the same for RadCalendar in ASP.NET ; is there any work around for Silverlight Calendar ?

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 07 Jan 2010, 12:08 PM
Hello Jatin,

Thank you for the question.

To add a tooltip to the day button first you need to create a custom style for the button and then create the tooltip. Attached, you will find a simple project which illustrates this approach. There you can customize the text of the tooltip by binding the TextBlock's Text property and creating a converter, with which to format the tooltip. Another approach to formatting the text of the tooltip is to create an attached behavior for the tooltip text.

If you need further assistance please feel free to contact us again.

All the best,
Konstantina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Calendar
Asked by
Jatin Aggarwal
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or