Selecting Step in code behind for RadStepProgressBar by Binding - No Visual Update

0 Answers 56 Views
StepProgressBar
Matthew
Top achievements
Rank 1
Matthew asked on 01 Dec 2023, 02:07 PM

Hi, we are looking at using the RadStepProgressBar

in Xaml


  <telerik:RadStepProgressBar
x:Name="SystemStepProgressBar"
ItemsSource="{Binding Steps}"
SelectedItem="{Binding SelectedStep, Mode=TwoWay}">

We are binding to a collection of StepInfo as per example online

When we change the SelectedItem in code behind, this is not registering visually, even though the RadStepProgressBar.SelectedItem and SelectedIndex is as we expect the visual display does not change?

 

Matthew
Top achievements
Rank 1
commented on 01 Dec 2023, 02:52 PM

Ok - sorted... just realised that we were intercepting the click event on the selecetedItem and making a reselection in this code - but the internal code was reselecting the original - putting in e.CancelSelection = true in all options we had in this click event handled this for us.

 

No answers yet. Maybe you can help?

Tags
StepProgressBar
Asked by
Matthew
Top achievements
Rank 1
Share this question
or