Node text Wrap

4 posts, 0 answers
  1. Chathuranga
    Chathuranga avatar
    10 posts
    Member since:
    Feb 2008

    Posted 19 Apr 2008 Link to this post

    Dear Telerik,

    Currently by adding style="white-space:normal" to a treeview or node i am able to wrap the text but not as desired. It wraps with no indentation at all.

    Example
     Parent node text 1111111111111
     1111111111111111

            Child node 11111111111111
     1111111111111111

            Child node 22222222222222
     222222222222222222222222222

    What i require is when node text is wrapped to have indentation so the user can still see the links and its clear and visually pleasing as
     Parent node text 1111111111111
     1111111111111111

            Child node 11111111111111
            1111111111111111

            Child node 22222222222222
            22222222222222222222222
            2222


    I am using RadControls_Q3_2007_SP1_dev version currently. Can this be done if so how?

    Regards
    Chathuranga

  2. brewerdc
    brewerdc avatar
    20 posts
    Member since:
    May 2007

    Posted 29 Apr 2008 Link to this post

    I'm having this exact problem.  I'm able to wrap the text but the text wraps to align with the top-most node.  I need it to align with its own text above it.

    Thanks!
  3. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 09 May 2008 Link to this post

    Hi brewerdc,

    Unfortunately, this cannot be done with the classic version of RadTreeView.

    On the other hand, RadTreeView for ASP.NET AJAX will successfully apply the style and the desired effect will be achieved.

    P.S. This thread has been moved to the "RadTreeView for ASP.NET" forum as it refers to the classic version of the control.

    Greetings,
    Simon
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  4. Moon
    Moon avatar
    250 posts
    Member since:
    Apr 2008

    Posted 12 Aug 2009 Link to this post

    I have the Ajax version of this control and although it wraps, it is not indenting. In fact, the second and additional lines are outdented to the left as described in the user's original post.

    I'm using 3.5 framework and 2009.2.701 - the latest version as of the time of this post.

    I found this post:
    http://www.telerik.com/community/forums/aspnet-ajax/treeview/word-wrap-amp-icon-issue.aspx

    Seems that it should have worked without me having to alter the styles? Shouldn't it be built-in?

    Thanks.



Back to Top