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

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

7 Answers 107 Views
BusyIndicator
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Patrick asked on 03 Apr 2012, 05:01 PM
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

7 Answers, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 06 Apr 2012, 09:36 AM
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 >>

0
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
answered on 06 Apr 2012, 10:04 AM
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
0
Accepted
Miroslav Nedyalkov
Telerik team
answered on 10 Apr 2012, 09:14 AM
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 >>

0
Tracey
Top achievements
Rank 1
answered on 25 Apr 2013, 04:11 PM
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...
0
Miroslav Nedyalkov
Telerik team
answered on 26 Apr 2013, 11:19 AM
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.

0
Tracey
Top achievements
Rank 1
answered on 29 Apr 2013, 07:35 AM
Hi

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

Cheers
0
Miroslav Nedyalkov
Telerik team
answered on 01 May 2013, 07:55 AM
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.

Tags
BusyIndicator
Asked by
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Miroslav Nedyalkov
Telerik team
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Tracey
Top achievements
Rank 1
Share this question
or