node text and consecutive spaces

4 posts, 1 answers
  1. Mike
    Mike avatar
    32 posts
    Member since:
    Mar 2012

    Posted 27 Nov 2013 Link to this post

    Is it not possible to have multiple spaces in between words when calling set_text()?
  2. Answer
    Kate
    Admin
    Kate avatar
    1898 posts

    Posted 02 Dec 2013 Link to this post

    Hello Mike,

    You can easily preserve the space as they appear in the string that you set with the set_text() property by using the following css class selector:
    div.RadTreeView .rtIn {
    white-space: pre;
    }

    Regards,
    Kate
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mike
    Mike avatar
    32 posts
    Member since:
    Mar 2012

    Posted 02 Dec 2013 Link to this post

    Thank you for the reply.  If this is documented I certainly missed it.  This should be an exposed option to the developer.
  5. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 05 Dec 2013 Link to this post

    Hello Mike,

    Thank you for your feedback. We will indeed consider it and possibly include it in our documentation of the RadTreeView control.

    Regards,
    Kate
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top