Feature request: RadBusyIndicator should definitely have a higher Z-order than RadWindow

8 posts, 1 answers
  1. Patrick
    Patrick avatar
    372 posts
    Member since:
    Aug 2012

    Posted 03 Apr 2012 Link to this post

    Hello,
    if we need to display a RadBusyIndicator while a RadWindow is displayed, the RadBusyIndicator is display below the RadWindow.
    According to Telerik, we need to add another RadBusyIndicator to the RadWindow to solve the problem, but it is a pain: if we have many RadWindow objects in an application, it is complicated to define a BusyIndicator for each one and to know exactly on which ones we must set the IsBuy property to True.
    If Telerik just changes how the RadBusyIndicator works, to put it above any displayed RadWindow, it would save us hours of coding.
    Patrick
  2. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 06 Apr 2012 Link to this post

    Hi Patrick,

    The RadWindow control is displayed in its own popup control and the only thing that could be rendered on top of it is another Popup control, open after the RadWindow control. On the other hand the RadBusyIndicator is a ContentControl which overlays only its own content with its busy overlay.

    Possible work-around for this problem is to change the ControlTemplate of the RadBusyIndicator to use a Popup or instead of using a RadBusyIndicator to use a Topmost modal RadWindow control. The first solution will not work if the RadWindow control is opened after the RadBusyIndicator's IsBusy property is set to true.

    Hope this helps.

    All the best,
    Miroslav Nedyalkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Patrick
    Patrick avatar
    372 posts
    Member since:
    Aug 2012

    Posted 06 Apr 2012 Link to this post

    Miroslav,
    the big problem with the RadBusyIndicator is that it is not usable out-of-the-box when there is a RadWindow displayed. We need to make complicated hacks to have a completely functional one.
    Telerik should pay attention to have its controls working correctly in all scenario. And this is not a special scenario.
    Patrick
  5. Answer
    Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 10 Apr 2012 Link to this post

    Hello Patrick,

    Thank you for your feedback.

    We considered your suggestion and we decided that this feature shouldn't be part of the built-in features of the RadBusyIndicator as the BusyIndicator is designed to overlay only parts of the application.

    On the other hand we think that this is a common scenario and we prepared a code library where we uploaded an example how to do this with a Topmost RadWindow control. You can check it here:
    http://www.telerik.com/community/code-library/silverlight/general/show-radbusyindicator-over-radwindow.aspx

    Hope this helps.

    Greetings,
    Miroslav Nedyalkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  6. Tracey
    Tracey avatar
    34 posts
    Member since:
    Feb 2011

    Posted 25 Apr 2013 Link to this post

    That's a great solution, works a treat.

    Would you be able to adapt it to include BusyContent? Or give me some pointers so I can do it myself...
  7. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 26 Apr 2013 Link to this post

    Hello Tracey,

    Could you please explain in more details where would you like to include the BusyContent?

    All the best,
    Miroslav Nedyalkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  8. Tracey
    Tracey avatar
    34 posts
    Member since:
    Feb 2011

    Posted 29 Apr 2013 Link to this post

    Hi

    Just like with the RadBusyIndicator - a bit of text that you can change that is displayed underneath the circle graphic.

    Cheers
  9. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 01 May 2013 Link to this post

    Hello Tracy,

    The example I pointed doesn't use the RadBusyIndicator control, but emulates it using the RadProgressBar control. The example is not meant to display BusyContent, there is some work to be done to implement this functionality.

    Generally you need to add one more attached property to the BusyIndicatorExtensions class, holding the BusyContent. After that you need to pass its value to the BusyIndicatorWindow when opening it in the constructor of the BusyIndicatorExtensions class. As the final step you need to present the BusyContent in the BusyIndicatorWindow. I would suggest you to use a ContentPresenter for this purpose.

    Hope this helps.

    Regards,
    Miroslav Nedyalkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top
DevCraft banner