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

Show ToolTip For Cells in RadScheduler

3 Answers 205 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
bdukes
Top achievements
Rank 2
bdukes asked on 22 Jul 2009, 11:23 PM
I've been trying to figure out if there's a way to tootipify each cell in the RadScheduler.  Since the cells don't have Client IDs, I'm having a hard time figuring out if there's any way to wire-up the RadToolTipManager to those cells.

Is there any way that I can manually create/show/wire-up a tooltip on the client side, maybe?  I have jQuery on the site, so it's pretty easy to select all of the table cells of the calendar, but then I still don't know how to get a tooltip to show up on them.

Has anyone tried to do this before?  Anything I'm missing?

Thanks for the help!

3 Answers, 1 is accepted

Sort by
0
Accepted
Svetlina Anati
Telerik team
answered on 24 Jul 2009, 02:14 PM
Hi bdukes,

There are several ways to achieve what you want depedning on your preferences and exact scenario. In order to get a better overview on the different possibilities, please examien teh following resources:

  1. ToolTipify  through code:

    http://demos.telerik.com/aspnet-ajax/scheduler/examples/radtooltip/defaultcs.aspx
  2. Automatic tooltipifying:

    http://demos.telerik.com/aspnet-ajax/tooltip/examples/tooltipzoneid/defaultcs.aspx
  3. Create the tooltips on the client when no ClientIDs for the Target elements are available

    and
  4. Add ID attributes on teh server when no IDs for teh Target elements are available.

    The approaches in 3) and 4) are demonstrated in the following demos:

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

    The above two demos are not for teh scheduler in particular but they demonstrate common techniques of tooltipifying of elements without client ids.

When you install RadControls, our online examples projects are automatically installed on your computer and you can not only examine their full source code, but also extend them further in order to meet your requirements.

You can open the demos from here:

Start\Programs\Telerik\RadControls for ASPNET AJAX\Open Sample WebSite In VisualStudio

The actual location on your hard disk is the following one:

C:\Program Files\Telerik\RadControls for ASPNET AJAX \Live Demos

I hope that this information is helpful.

Best wishes,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
bdukes
Top achievements
Rank 2
answered on 24 Jul 2009, 06:57 PM
Number 3 appears to have the approach that I'll need to take (the calendar cells don't have IDs, and aren't represented [that I can find] on the server at all, so IDs can't be added).

Is there any documentation of the JavaScript methods available on the RadToolTipManager?  Had I been able to find documentation of the createToolTip function that the example uses, it would've greatly speeded the development of this issue.

Thanks for your help,
0
Svetlina Anati
Telerik team
answered on 27 Jul 2009, 02:34 PM
Hi bdukes,

I am glad you could make the things work as you require. As to documenting the createTooltip method of the RadToolTipManager, we have prepared a special online demo about it which is available below:

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

and we also demonstrated its usage in the 2 demos I linked before. This method is relatively new and still not very oten used but you are correct that it will be nice to also include it in the documentation and it will be present there in its next update.

I update your account with some Telerik points for your report.

Thank you once again for your cooperation, we highly appreaciate it.

Greetings,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
ToolTip
Asked by
bdukes
Top achievements
Rank 2
Answers by
Svetlina Anati
Telerik team
bdukes
Top achievements
Rank 2
Share this question
or