RadTreeNode HTML Encoding

2 posts, 0 answers
  1. Jay
    Jay avatar
    89 posts
    Member since:
    Nov 2007

    Posted 11 Apr 2012 Link to this post

    Previously, I had been inserting HTML into the tree nodes such as
    var node = new RadTreeNode();
    node.Text = "<b>This is bold text</b>";
    When I upgraded to 2012 Q1, it seems that it is now HTML encoding the Text. How can I insert on the server side raw HTML without the control encoding it (similar to how it used to work)?

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 12 Apr 2012 Link to this post

    Hello Jay,

    I also observed the same behavior in the version 2012, 1, 215, 35. With reference to this sticky thread: "From the upcoming Latest internal build the encoding will be optional through the property EnableNodeTextHtmlEncoding and it will be disabled by default". Try setting EnableNodeTextHtmlEncoding as false to show the text in bold in version 2012, 1, 411, 35. Try upgrading to the latest version.

Back to Top