Tooltip on Treelist

2 posts, 0 answers
  1. Melvis
    Melvis avatar
    3 posts
    Member since:
    Nov 2012

    Posted 10 Dec 2012 Link to this post

    I have TreeListTemplateColumn column in my treelist. I would like to show dynamic tooltip when the user hover the template column. For example, I have 2 progress bar within my template column. I would like to show different tooltip for each progress bar depending on data on that row.

    Is there an event on client or server side to faciliate this?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 11 Dec 2012 Link to this post


    Try the following code to achieve your scenario.
    <telerik:TreeListTemplateColumn >
            <telerik:RadProgressArea ID="RadProgressArea2" runat="server">
    protected void RadTreeList1_ItemDataBound(object sender, TreeListItemDataBoundEventArgs e)
     if (e.Item is TreeListDataItem)
               TreeListDataItem item = e.Item as TreeListDataItem;
               RadProgressArea progress = (RadProgressArea)item.FindControl("RadProgressArea2");
               progress.ToolTip = item["UniqueName"].Text;

Back to Top