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

Formatting RadScheduler RadToolTips

1 Answer 122 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Ed McCarroll
Top achievements
Rank 1
Ed McCarroll asked on 02 Nov 2010, 04:20 PM

I'm trying to use formatted RadToolTips in a RadScheduler.  I've implmented tooltips like those shown in the Examples (http://demos.telerik.com/aspnet-ajax/scheduler/examples/radtooltip/defaultvb.aspx), but this approach is apparently limited to working with the properties of the appointment, and I need to work with columns from a database.

You can see an example of what I'm doing by:
1. Go to: http://comsimplicity.com/WLAC/ScheduleOfClasses.aspx
2. Select the first three checkboxes in the far right "PLANNER" column of the grid
3. Click on the "2 MyPlanner" tab, top center of page
4. This will open the MyPlanner page.  This has
   - a RadScheduler
   - a "Time: TBA" list to the right of the RadScheduler
5. Hover your mouse over the "ACCTG 002" item in the "Time: TBA" list
6. Hover over the "ACCTG 001" appointment in the RadScheduler, note the lack of formatting.

What we want is for the RadScheduler tooltips to look like the "Time: TBA" tooltips.

Can you can suggest an approach to this, or better yet, point me to an example of how this might be done?

(One thing we don't absolutely need is the AJAX which I got from the Example page.)

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 03 Nov 2010, 02:54 PM
Hello Ed McCarroll,

 I already answered your support thread and for your convenience and for others who might have the same question I pasted it below:

Thank you for the provided demo, I was not able to run it but it helped me understand your approach.

The scheduler demo you have used uses a literal for simplicity but actually you can put a databound control inside the user control you load in the tooltip and style it accordingly. You can see the RadToolTip demos, e.g the ones below:

http://demos.telerik.com/aspnet-ajax/tooltip/examples/loadondemand/defaultvb.aspx

http://demos.telerik.com/aspnet-ajax/tooltip/examples/default/defaultvb.aspx

All the content and styling is done in the user control and teh tooltip simply displays what you have put in your control. This being said, you can style the control and after that since this control is added to the tooltip in the OnAjaxUpdate event it will show styled.

On a side note, I recommend to set some explicit Width and Height for the tooltip manager so that it will initially show better (the tooltip will automatically resize according the content after that when the content is loaded).

I hope that my reply is helpful, let me know how it goes.

All the best,
Svetlina
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
ToolTip
Asked by
Ed McCarroll
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or