New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Add tooltip for RadTreeList or RadGrid cell template content automatically

Updated over 6 months ago

Environment

ProductRadTreeList for ASP.NET AJAX

Solution

You can generate tooltips for specific template elements both for RadTreeList and RadGrid using the same approach:

ASP.NET
<ClientSettings>
    <ClientEvents OnTreeListCreated="treeListCreated" />
</ClientSettings>
JavaScript
function treeListCreated(sender, args) {
    var treelist = sender;
    var items = treelist.get_dataItems();
    for (var i = 0; i < items.length; i++) {
        $(items[i].get_element()).find("a").attr("title", "Success");
    }
}
In this article
EnvironmentSolution
Not finding the help you need?
Contact Support