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

RadWaiting bar over RadLayoutControl

2 Answers 186 Views
WaitingBar
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 22 Apr 2020, 06:14 PM

     Good afternoon,  

I wasn't sure if this question belongs in the WaitingBar thread or RadLayoutControl, but here is the problem.

 

I have a standard C# UserControl, with a RadLayoutControl that is docked to the parent(UserControl).  The layoutcontrol has several items in it and that part works well.  What I would *like* to be able to do is on creation of the user control, have a waiting bar of the spin variety show over the LayoutControl until a few items that need to retrieve data are ready to be shown.  The smart tag will let me assign the WaitingBar.AssociatedControl to the RadLayoutControl, but if I call the waitBar.StartWaiting(), I can't see the bar.

I can seem to successfully have the WaitingBar appear over any of the components within the LayoutControl,  but I would really like it to go over the entire LayoutControl if possible.

I hope that makes sense, and thanks for any help you might have.

Mike

 

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Nadya | Tech Support Engineer
Telerik team
answered on 27 Apr 2020, 07:32 AM

Hello Michael,

Following the provided information I created a sample project. I can suggest you to add a RadPanel and dock the RadLayoutControl within it. Then assign the WaitingBar.AssociatedControl to the RadPanel. Thus, when you call radWaitingBar1.StartWaiting() you should see the waiting bar over the layout control as demonstrated below:

I attached my project to this thread for your reference. Could you please refer to it and see how it works.

I hope this helps. Should you have other questions do not hesitate to ask.

Regards,
Nadya
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Michael
Top achievements
Rank 1
answered on 27 Apr 2020, 01:17 PM

I should have thought about adding the extra panel. Thanks I'll try that but I'm sure it will work.

 

Mike

Tags
WaitingBar
Asked by
Michael
Top achievements
Rank 1
Answers by
Nadya | Tech Support Engineer
Telerik team
Michael
Top achievements
Rank 1
Share this question
or