set child node selected in RadTreeView

2 posts, 0 answers
  1. Jayesh Goyani
    Jayesh Goyani avatar
    2733 posts
    Member since:
    May 2010

    Posted 04 Apr 2011 Link to this post

    hi,
    i want to set child node selected in page_load.

    i used load on demand (Page method).

    http://demos.telerik.com/aspnet-ajax/treeview/examples/programming/loadondemandmodes/defaultcs.aspx

    thanks in advance
  2. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 04 Apr 2011 Link to this post

    Hi Jayesh,

    Well, if you know the Text/Value of the node, you can handle the ClientLoad event, find the node using the findNodeByText/findNodeByValue method of the TreeView and then select it using the node.set_selected(true).


    Regards,
    Nikolay Tsenkov
    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
Back to Top