Using TreeVew combo box as a navigate menu.

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

    Posted 09 Nov 2010 Link to this post

    I'd like to use TreeVew combo box as a navigate menu.

    - ClassA
    - ClassB
    + ClassC
    + ClassD

    The followings can be realized?

    1) When 'ClassA' is clicked, the page is displayed with 'Class A' is selected in combo box.
        Then next, 'GroupA-2' is clicked, the page is displayed with 'Group A-2' is selected in combo box.
        Selected item is NOT POST back to the same URL. New page is requested (GET).

    2) Tree state (+ or -) will be kept when the page is changed from to

  2. Yana
    Yana avatar
    4795 posts

    Posted 12 Nov 2010 Link to this post

    Hello Chie,

    As the page navigates, you should manually find the clicked node and select it. This can be done with FindNodeByUrl method like this:

    RadTreeNode clickedNode = RadTreeView1.FindNodeByUrl(Request.Url.PathAndQuery);

    Hope this helps.

    All the best,
    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