Node - max width

4 posts, 0 answers
  1. wnl
    wnl avatar
    106 posts
    Member since:
    Aug 2007

    Posted 30 Nov 2010 Link to this post

    Hi,
    Is any property in TreeView to set max width of node?
    In my application some nodes are too long:
    http://img232.imageshack.us/img232/5127/telerik.png
    How to fix this?

    Thanks.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 30 Nov 2010 Link to this post

    Hi,


    The text of the tree Nodes can be easily wrapped when needed. The following link explains more on this.
    Wrap TreeNode's text



    -Shinu.
  3. wnl
    wnl avatar
    106 posts
    Member since:
    Aug 2007

    Posted 30 Nov 2010 Link to this post

    Ok, but how to apply to the whole TreeView? There is no example.
  4. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1268 posts

    Posted 02 Dec 2010 Link to this post

    Hello Jaromin Sycz,

    You could add this style in the TreeView opening Tag and it will be applied to all of the tabs
    Style="white-space: normal"


    Best wishes,
    Dimitar Terziev
    the Telerik team
    Browse the vast support resources we have to jumpstart 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.
Back to Top