How to Tooltipify a RadToolBarButton

2 posts, 0 answers
  1. David
    David avatar
    19 posts
    Member since:
    Nov 2008

    Posted 03 May 2010 Link to this post

    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?
  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 04 May 2010 Link to this post

    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:

    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,
    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.
Back to Top