Cannot get RadToolTipManager to work with RadTreeView Node

3 posts, 1 answers
  1. Sam
    Sam avatar
    52 posts
    Member since:
    Apr 2008

    Posted 31 Dec 2010 Link to this post

    For some crazy (but i'm sure very simple) reason i cannot get this to work, any help would be appreciated.


        <form id="form1" runat="server">

        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">



            <telerik:RadToolTipManager ID="RadToolTipManager1" runat="server">


            <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">


            <telerik:RadTreeView ID="TazaTree" runat="server">


            <br />

            <asp:Button ID="Button1" runat="server" Text="Button" />


        <telerik:RadAjaxManager runat="server">


                <telerik:AjaxSetting AjaxControlID="Button1">


                        <telerik:AjaxUpdatedControl ControlID="TazaTree" />












    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click


            Dim ReMan As New ReMan

            Dim REs As List(Of ReUltraObj) = ReMan.GetCompanyUltraREsByCity("1000", "San Jose")


            For Each RE As ReUltraObj In REs

                Dim RENode As New RadTreeNode

                RENode.Value = RE.REID.ToString

                RENode.Text = RE.Address



                RadToolTipManager1.TargetControls.Add(RENode.ClientID, RENode.Value, True)



        End Sub


        Protected Sub RadToolTipManager1_AjaxUpdate(ByVal sender As Object, ByVal e As Telerik.Web.UI.ToolTipUpdateEventArgs) Handles RadToolTipManager1.AjaxUpdate

            Dim L As New Label

            L.Text = "test"


        End Sub

  2. Answer
    Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 03 Jan 2011 Link to this post

    Hi Sam,

      Indeed, the RadTreeNodes 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 demo which shows both the approaches:

    If you want to tooltipify only particular nodes, you should add the only their ClientIDs (which you programmatically set) to the TargetControls collection or create dynamically tooltips only when they are hovered - in this manner the other nodes will not get tooltipified.

    Note, also, that when you update the tree, you should make sure that you also update the tooltip manager with AJAX .

    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.

    Best wishes,
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. Sam
    Sam avatar
    52 posts
    Member since:
    Apr 2008

    Posted 03 Jan 2011 Link to this post

    Thank you, that will do it.

Back to Top