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

Need help to handle node text

1 Answer 28 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Balaji
Top achievements
Rank 1
Balaji asked on 06 Apr 2010, 01:11 PM
Hi Telerik,

I am using ajax rad tree view in our application, And there is a requirement to create nodes on client side with user given text as node text. 
And I have written java script function to achieve the above functionality. But if I give node text as <input type="button" value="some" />, <input type="text" value="some" />, etc. it is creating html element as node. 

Could you please suggest me how to handle this scenario.

Thanks in advance,
Balaji Velasiri

1 Answer, 1 is accepted

Sort by
0
Balaji
Top achievements
Rank 1
answered on 07 Apr 2010, 07:35 AM
I got It!!! I used regular expression to validate the input string on client side.




Tags
TreeView
Asked by
Balaji
Top achievements
Rank 1
Answers by
Balaji
Top achievements
Rank 1
Share this question
or