How to display ® and ™ in treeview?

2 posts, 0 answers
  1. Arpit
    Arpit avatar
    49 posts
    Member since:
    Nov 2010

    Posted 13 Jun 2011 Link to this post

    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


     
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 16 Jun 2011 Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top