Hi I am using version 2009.01.0402.35 of the RadTreeView.
I am attempting to put simple HTML (mainly BRs and s) into the text of RadTreeNodes via clientside Javascript.
I realise that set_text() will strip the tags and found in the forums to set the innerHTML propertry of .get_textElement() instead.
I also understand that will not be persisted after a postback.
My issue is however, when I rearrange the nodes, ie move this node up or down a level in the tree, again using entirely client javascript, the node's text is set back to it's original nonHTML value.
I am considering putting the value I want inside a custom attribute and then after the reshuffle operation restting the innerHTML from the attribute but consider this to be clunky as well as wasting memory, viewstate and CPU cycles.
Alternatively is there a way of insterting a new lines (or line breaks) into the text value of the node without using HTML?
Thanks
I am attempting to put simple HTML (mainly BRs and s) into the text of RadTreeNodes via clientside Javascript.
I realise that set_text() will strip the tags and found in the forums to set the innerHTML propertry of .get_textElement() instead.
I also understand that will not be persisted after a postback.
My issue is however, when I rearrange the nodes, ie move this node up or down a level in the tree, again using entirely client javascript, the node's text is set back to it's original nonHTML value.
I am considering putting the value I want inside a custom attribute and then after the reshuffle operation restting the innerHTML from the attribute but consider this to be clunky as well as wasting memory, viewstate and CPU cycles.
Alternatively is there a way of insterting a new lines (or line breaks) into the text value of the node without using HTML?
Thanks