How to do text wrapping in the code behind

2 posts, 0 answers
  1. Stavros
    Stavros avatar
    89 posts
    Member since:
    Sep 2008

    Posted 22 Jun 2009 Link to this post

    I have read in RadControlsAJAXCourseware.pdf that I can do text-wrapping manually using style="white-space: normal;" for a node with long text.
    How can I do that in the code behind for all nodes (checking with a loop for example every node text if it is beyond a specific length and applying the style).
    Thank you very much!
  2. Stavros
    Stavros avatar
    89 posts
    Member since:
    Sep 2008

    Posted 22 Jun 2009 Link to this post

    It was simple!
    All I had to do is add this style to the parent treeview!(The helping docs have an example on this)
Back to Top