Dynamically assign text in RadTreeNode

2 posts, 1 answers
  1. Arsalan
    Arsalan avatar
    17 posts
    Member since:
    Sep 2013

    Posted 23 Jan 2014 Link to this post

    hey everyone
    i just want to know how to dynamically assign text in radtreenode please help me.. please give me some sample code.
  2. Answer
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 23 Jan 2014 Link to this post

    Hi Arsalan,

    Please have a look into the following code snippet to change the text of RadTreeNode from client side.

    <telerik:RadTreeView ID="RadTreeView1" runat="server">
            <telerik:RadTreeNode Text="Item1">
            <telerik:RadTreeNode Text="Item2">
            <telerik:RadTreeNode Text="Item3">

    <script type="text/javascript">
        function pageLoad() {
            var tree = $find("<%=RadTreeView1.ClientID %>");

    Hope this will helps you.
  3. DevCraft R3 2016 release webinar banner
Back to Top