I use the RadBreadCrumb control for navigation in my MVVM SL 4.0 application. Let’s say the control represents the site’s navigation tree. There is a Binding between the control’s Path property and a property in the ViewModel.
Let’s imagine that the user navigated into the site to location:
Home/Clients/EU clients/HP Germany
Each of the segments in the BreadCrumb is represented by a page in the application. If the User navigates, using the bread crumb directly to “Home”, the control changes the Path property several times and I am getting in the ViewModel several times invocations of the property setter. If the Path is different from the last one then the application triggers navigation to a given page.
As a result if the users click over “Home” directly I’ll get 3 changes in the Path property:
For the user it is not visible because all of the operations are very fast, but it generates useless load to the server, because each page starts to load data and then it is replaced by another one. I would like to be notified from the bread crumb only for the item that the user has selected, not for each path change in order to get there.
Is there chance to do this with the RadBreadCrumb control?
Do I miss something, is there any workaround?