We have an issue with RadTreeView node text not displaying correctly after a postback if a folder was expanded using ServerSideCallBack after the control was initially bound. In these scenarios any internal nodes that contain HTML formatting in text lose that HTML formatting. PersistLoadOnDemandNodes is set to True.
Specifically, what we have observed is that if text of a node that was loaded on demand contains HTML (i.e.
node.text = "My Node Text <span class='NewItem'>-New</span>";
) then upon postbacks the node stays expanded, however the text of internal nodes looses all HTML formatting and plain text is displayed. Any nodes that were loaded as expanded on the initial load show correctly and retain internal HTML formatting, only the nodes that were expanded on demand lose their HTML formatting. Is there a workaround to this issue?
Thanks,
Albert