Formatting RadScheduler RadToolTips

2 posts, 0 answers
  1. Ed McCarroll
    Ed McCarroll avatar
    13 posts
    Member since:
    Feb 2010

    Posted 02 Nov 2010 Link to this post

    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.)

  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 03 Nov 2010 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top