This is a migrated thread and some comments may be shown as answers.

RadTreeNode HTML Encoding

1 Answer 122 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 11 Apr 2012, 07:55 PM
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)?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 12 Apr 2012, 11:46 AM
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.

Thanks,
Princy.
Tags
TreeView
Asked by
Jay
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or