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

ExpandItemByPath alternate field

5 Answers 85 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Jamest
Top achievements
Rank 2
Jamest asked on 15 Jul 2009, 10:25 PM
I have a LOD treeview implemented and have a WCF Search service which returns paths as a list of NodeIds (List<int>). So the items may not exist in the tree to select. The ExpandItemByPath works well for a list of names. My problem is that we allow duplicate named items within the same parent (this makes more sense when you assign one to one sales group and the other to another) so that they both see the same name but perhaps different content, but the admin sees both and the search by name always takes the first path. So my question is really...is there a way to make the ExpandItemByPath point to a property of the DataContext (BO)? or is there a property on RadTreeViewItem that overrides what ExpandItemByPath looks at?  Thank you for your consideration.

5 Answers, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 20 Jul 2009, 11:47 AM
Hi Ender,

Currently RadTreeView does not support such scenario. The ExpandItemByPath functionality works by creating a path from the string representations of the Headers.
However, we find your idea extremely interesting and we will make sure to implement it as soon as possible. The earliest date for this feature will be the Service Pack release, yet I cannot guarantee it with 100%.
I have also updated your profile with 500 Telerik points. If you have additional questions or comments let us know.

Kind regards,
Kiril Stanoev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Jamest
Top achievements
Rank 2
answered on 21 Jul 2009, 05:34 PM
Thank you for your response...I really hope that this makes it into the release.
0
hwsoderlund
Top achievements
Rank 1
answered on 22 Jul 2009, 07:30 AM
I just want to second the need for this functionality. I suggested something similar a while back:
http://www.telerik.com/community/forums/silverlight/treeview/programmatic-access-to-treeview-items.aspx#829802





0
Bobi
Telerik team
answered on 22 Jul 2009, 07:32 AM
Hi Ender,

Once again thank you for the suggestion. We will fix this issue as soon as possible.


Kind regards,
Boryana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Miroslav
Telerik team
answered on 28 Dec 2009, 03:19 PM
Hello all,

I just came across this thread and I can bring it up to date -

For some time now the telerik:TextSearch.TextPath property can be set on the TreeView to specify which property on the data object should be used for building the expand path.

All the best,
Miroslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
TreeView
Asked by
Jamest
Top achievements
Rank 2
Answers by
Kiril Stanoev
Telerik team
Jamest
Top achievements
Rank 2
hwsoderlund
Top achievements
Rank 1
Bobi
Telerik team
Miroslav
Telerik team
Share this question
or