ExpandItemByPath alternate field

6 posts, 0 answers
  1. Jamest
    Jamest avatar
    41 posts
    Member since:
    Apr 2007

    Posted 15 Jul 2009 Link to this post

    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.

  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 20 Jul 2009 Link to this post

    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.
  3. DevCraft banner
  4. Jamest
    Jamest avatar
    41 posts
    Member since:
    Apr 2007

    Posted 21 Jul 2009 Link to this post

    Thank you for your response...I really hope that this makes it into the release.
  5. hwsoderlund
    hwsoderlund avatar
    419 posts
    Member since:
    Aug 2006

    Posted 22 Jul 2009 Link to this post

    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





  6. Bobi
    Admin
    Bobi avatar
    513 posts

    Posted 22 Jul 2009 Link to this post

    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.
  7. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 28 Dec 2009 Link to this post

    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.
Back to Top
DevCraft banner