1. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 29 Oct 2009 Link to this post

    Is it possible to add alt text to the '+', '-' and checkbox images in a treeview?

  2. Veselin Vasilev
    Veselin Vasilev avatar
    2992 posts

    Posted 02 Nov 2009 Link to this post

    Hello Stuart Hemming,

    This can be easily achieved by using jQuery. You can subscribe to the OnClientLoad event of the treeview and set the title attribute of the elements you need:

    <script type="text/javascript">
        function onTreeLoad(sender, e) {
            var $ = $telerik.$;
            $(".rtPlus").attr("title", "expand");
            $(".rtMinus").attr("title", "collapse");
            $(".rtChk").attr("title", "check");

    Hope this helps.

    All the best,
    Veselin Vasilev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top