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

RadTreeNode not acceping text like "<a"

4 Answers 37 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Swaroop
Top achievements
Rank 1
Swaroop asked on 03 Aug 2011, 06:49 AM
Hi,
I have problem here. I was trying to fill the tree structure with the DataTable contents. The data i'm going to fill the tree view is a collection of special characters.
As you can see below the node.text which is a RadTreeNode has the value "\WW\<a"



But when it is displayed on the screen it comes as
This looks like when biinding the "<a" is getting truncated.

Is there any way around it???

Plz help me with this as I'm stuck with this
regards
Swa

4 Answers, 1 is accepted

Sort by
0
Swaroop
Top achievements
Rank 1
answered on 03 Aug 2011, 09:19 AM
Anybody there? It looks like "<w", "<q" are also not getting accepted.  Let me knw if this is a limitation of RadTree
0
Accepted
Plamen
Telerik team
answered on 08 Aug 2011, 12:47 PM
Hello Swaroop,

You can try to replace the "<" with "&lt" and "<" with "&gt" because these characters may be used in the DataTable logic and have to be escaped.

Greetings,
Plamen Zdravkov
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Swaroop
Top achievements
Rank 1
answered on 10 Aug 2011, 06:40 AM
Hi ,

I have used the way you have suggested and its displays correctly. But , when i tried to get the node name back, the whole page is crashing..


regards,

Swaroop
0
Plamen
Telerik team
answered on 12 Aug 2011, 09:14 AM
Hi Swaroop,

I inspected the issue but didn't observe any unusual behaviour. Would you please try to isolate the problem in a sample project and send it to us via support ticket so that we can be more helpful.

Regards,
Plamen Zdravkov
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
TreeView
Asked by
Swaroop
Top achievements
Rank 1
Answers by
Swaroop
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or