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

CurrentItem binding not updating icon

2 Answers 84 Views
BreadCrumb
This is a migrated thread and some comments may be shown as answers.
Kenneth
Top achievements
Rank 1
Kenneth asked on 12 Nov 2012, 01:57 PM
Hi,

We're currently binding to the CurrentItem property of the breadcrumb control. This works, but for some reason, the icon is not changing correctly.
When binding to the path property, everything works, but we would like to avoid using this approach, since converting back and forth between objects and strings is quite cumbersome.
We need this functionality to work, as we're using the same object model for both a treeview and the breadcrumb.


Thanks in advance.

2 Answers, 1 is accepted

Sort by
0
Accepted
Tina Stancheva
Telerik team
answered on 15 Nov 2012, 12:07 PM
Hi Kenneth,

I prepared a sample solution to test your scenario. I bind the RadTreeView.SelectedItem and the RadBreadcrumb.CurrentItem to the same business object. This is why the selection changes in the tree are reflected in the breadcrumb. However, the image is properly updated along with the current item changes. Can you please take a look at the solution and let me know if I've missed something? Thank you in advance.

Kind regards,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Kenneth
Top achievements
Rank 1
answered on 19 Nov 2012, 10:42 AM
Hi Tina

I discovered the problem was caused by a bug in the version I was using. It is already fixed in the latest release.
Tags
BreadCrumb
Asked by
Kenneth
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Kenneth
Top achievements
Rank 1
Share this question
or