If you hover over a calendar event, a tooltip automatically shows its details. This KB article shows how to modify the tooltip display.
The
telerik:RadToolTip
properties govern how the tool tip displays.
You can apply many changes to a tool tip. The following example makes the tool tip appear without delay and use fade-in animation, using the EktronTech starter site.
Before you begin, add a calendar event and observe the default behavior. Then, open the EktronTech website file folder and do the following steps.
- Make a copy of the
Display.ascx
andDisplay.ascx.cs
files from this folder:siteroot\workarea\WebCalendar\DefaultTemplate
. - Paste them into a new folder in the website, such as
siteroot\CustomUserControls
. - Edit the new .ascx file you just created.
- Set these property values on the
Telerik:RadToolTip
server control.ShowDelay-0 Animation-Fade
- Save your changes.
- Edit your template.
- Update the WebCalendar server control's
DisplayTemplatePath
property with the location of the revised display.ascx file. For example:/CustomUserControls/display.ascx
. WebCalendar server control. - Save your changes.
- Refresh the browser page containing the calendar and hover over the calendar event to see the new behavior.
Please sign in to leave a comment.