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

IsBusy cannot be set when using bindings within RadDock using the PersistenceManager

3 Answers 20 Views
BusyIndicator
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 11 Mar 2016, 06:13 PM

Hello,

We use RadDock & RadBusyIndicator extensively throughout our product and have run into an issue where the RadBusyIndicator is disappearing or isn't respecting IsBusy when true. If the PersistenceManager is used to set the layout of the RadDock which contains a RadBusyIndicator, after which the indicator can no longer be set to IsBusy through bindings. It can however be set directly on the property. It's as if the binding is unhooked or as if the data context is lost, even though debugging show they seem to be still wired up.

How can we address this issue?

Thank you,
Patrick

PS I opened a support ticket as well.

3 Answers, 1 is accepted

Sort by
0
Accepted
Nasko
Telerik team
answered on 14 Mar 2016, 08:01 AM
Hi Patrick,

Your binding should be a two-way in order to make it work as soon as the layout is saved and restored afterwards:
<telerik:RadBusyIndicator x:Name="xBusyIndicator" DataContext="{StaticResource ProgressBarInfo}"
                            BusyContent="{Binding}"
                            IsIndeterminate="{Binding IsIndeterminate, Mode=TwoWay}" 
                            IsBusy="{Binding IsBusy, Mode=TwoWay}"
                            ProgressValue="{Binding ProgressValue, Mode=TwoWay}"
                            DataContextChanged="xBusyIndicator_DataContextChanged">

Please, give it a try and let us know if it worked for you.

Hope this helps.

Regards,
Nasko
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Patrick
Top achievements
Rank 1
answered on 14 Mar 2016, 03:26 PM

Nasko, that worked for us.

Note: this didn't seem to be an issue using the RadDocking - LoadLayout()/SaveLayout() methods, only the PersistenceManager.

Thank you,

Patrick

 

0
Plamen
Top achievements
Rank 1
answered on 09 Mar 2017, 02:55 PM
Thank you for sharing this.
Tags
BusyIndicator
Asked by
Patrick
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Patrick
Top achievements
Rank 1
Plamen
Top achievements
Rank 1
Share this question
or