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

How to display ® and ™ in treeview?

1 Answer 50 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Arpit
Top achievements
Rank 1
Arpit asked on 13 Jun 2011, 11:58 PM
Hi,

I am using XML as datasource. The data contains XML representation of ® and : ® and ™

My treeview is displaying them as it is: MyCompany®

Is there any efficient way I can convert these markup strings back to symbols and display them in tree?

PS: I don't really want to use converts for such rarely occurring characters/symbols.

Thanks


 

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 16 Jun 2011, 04:13 PM
Hello Arpit,

Using the hex representaions in XML:  &#x2122 and &#174 I successfully get the desired output. Could you please check out the attached solution and let us know if it helps you ?



Regards,
Petar Mladenov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TreeView
Asked by
Arpit
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or