Setting SelectedValue on RadTreeView in EditForm Template of RadGrid

2 posts, 0 answers
  1. SickPup404
    SickPup404 avatar
    8 posts
    Member since:
    Sep 2014

    Posted 14 Jul 2015 Link to this post

    Good morning,

     I have a RadTreeView in an EditForm Template for a RadGrid.  The data in the TreeView is repetitive, such as (FullPathDelimiter="\"):

    2014\Archive
    2014\eMail
    2014\Taxes
    2015\Archive
    2015\eMail
    2015\Taxes
    2016\Archive
    2016\eMail
    2016\Taxes

    Archive
    eMail
    Taxes

    When I try to set the SelectedValue or SelectedText to the FullPath value (like "2014\Taxes"), nothing is set.  When I set it to something like "Archive", it picks the first node with that value "2014\Archive".

    How can I set the selected value by using the fullpath?

    Thx!

    Steve

  2. SickPup404
    SickPup404 avatar
    8 posts
    Member since:
    Sep 2014

    Posted 15 Jul 2015 in reply to SickPup404 Link to this post

    Nevermind, I used the unique key value that hooks the child items to the parent items instead of the text.
Back to Top