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

Setting SelectedValue on RadTreeView in EditForm Template of RadGrid

1 Answer 78 Views
Grid
This is a migrated thread and some comments may be shown as answers.
SickPup404
Top achievements
Rank 1
SickPup404 asked on 14 Jul 2015, 03:05 PM

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

1 Answer, 1 is accepted

Sort by
0
SickPup404
Top achievements
Rank 1
answered on 15 Jul 2015, 12:02 PM
Nevermind, I used the unique key value that hooks the child items to the parent items instead of the text.
Tags
Grid
Asked by
SickPup404
Top achievements
Rank 1
Answers by
SickPup404
Top achievements
Rank 1
Share this question
or