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

DataBinding and Path - Objects needed!

1 Answer 41 Views
BreadCrumb
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 05 Feb 2012, 10:52 PM
Hello!

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!
Tim.

1 Answer, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 08 Feb 2012, 06:33 PM
Hi,
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,
Zarko
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
BreadCrumb
Asked by
Tim
Top achievements
Rank 1
Answers by
Zarko
Telerik team
Share this question
or