DataBinding and Path - Objects needed!

2 posts, 0 answers
  1. Tim
    Tim avatar
    114 posts
    Member since:
    Aug 2011

    Posted 05 Feb 2012 Link to this post


    I am using the BreadCrumb control to let the user choose a path. The data for the BreadCrumb control is a List with Children. Now, there is a Path property but it only contains the raw strings. But I don't need the strings I need the data object itself (in this object an id is stored and that's the relevant information for me). So for example I've got the following path: A\B\C. I don't need "A\B\C\" I need a list with the objects A, B and C, so that I can read out there ids... How is something like that achieved using the telerik RadBreadCrumb control.

    Thanks a lot for any hint!
  2. Zarko
    Zarko avatar
    755 posts

    Posted 08 Feb 2012 Link to this post

    Unfortunately at the moment there's no straightforward way to get the displayed items. You'll have to get the RadBreadcrumbBar from inside the RadBreadcrumb and go through its items.
    I've attached a sample project that shows how you can do this so could you examine it and if you have further questions please don't hesitate to ask.

    All the best,
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top