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

3 posts, 1 answers
  1. Patrick
    Patrick avatar
    43 posts
    Member since:
    Jan 2013

    Posted 11 Mar Link to this post

    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.

  2. Answer
    Nasko
    Admin
    Nasko avatar
    587 posts

    Posted 14 Mar Link to this post

    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.
  3. DevCraft banner
  4. Patrick
    Patrick avatar
    43 posts
    Member since:
    Jan 2013

    Posted 14 Mar in reply to Nasko Link to this post

    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

     

Back to Top