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

How to Tooltipify a RadToolBarButton

1 Answer 86 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 03 May 2010, 05:40 PM
I am creating a number of RadToolBarButtons programmaticly that need to have some detailed, load on demand, tool tips.  However, I can not assign the TargetClientID of the RadToolBarButtons, as I can not assign the ID of the RadToolBarButtons.  Looking at the generated HTML code, (hoping to determine the naming structure of the ID's used internally), it appears that no ID is created. (Or at least, I can state that it is not rendered.)  How, then, can I accomplish the needed requirements?

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 04 May 2010, 02:58 PM
Hi David,

Indeed, the buttons of the RadToolBar do not have client IDs. However, you can either assign such on the server or create the tooltip dynamically on the client. For such cases we have prepared the following demos which show both the appraches:

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

They are tooltipifying calendar and treeview but the core logic is absolutely the same in your case as well.

Please, examine the code and use it as a start point for your implementation.

On a side note, 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, let me know if you have additional questions or you need further assistance.



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
David
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or