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

Show and Hide AjaxLoadingPanel explicitly over multiple elements

6 Answers 37 Views
AjaxLoadingPanel
This is a migrated thread and some comments may be shown as answers.
Felix
Top achievements
Rank 1
Felix asked on 08 May 2017, 06:09 AM

Hello,

I know there is an example how to show and hide the loading panel over one single page-element at the documentation. But I wonder if it is possible to show and hide the loading panel over multiple elements of the page, e.g. over a toolbar at the top and a grid at the bottom of the page.

Thanks in advance.

Kind regards

Felix

6 Answers, 1 is accepted

Sort by
0
Felix
Top achievements
Rank 1
answered on 16 May 2017, 06:04 AM
Does really no one has a solution for my problem?
0
Loïc
Top achievements
Rank 1
answered on 16 May 2017, 09:25 AM

Hi Felix,

I think you can find your answer here : Show and hide AjaxLoadingPanel explicitly.

0
Felix
Top achievements
Rank 1
answered on 16 May 2017, 09:30 AM

Hi Loic,

like I mentioned before I have already read this documentation. But this is only for showing a loading panel over one single element. But I want to show the loading panel over multiple elements on the page explicitly.

 

0
Loïc
Top achievements
Rank 1
answered on 16 May 2017, 09:44 AM

In this example, they only update one control, which is a Panel.

But in your JavaScript code, have you tried to call the ".show()" method for you different updated controls (toolbar and grid) ?

0
Felix
Top achievements
Rank 1
answered on 16 May 2017, 10:54 AM
Yes I've already tried that but with no luck.
0
Loïc
Top achievements
Rank 1
answered on 16 May 2017, 02:31 PM

Then, the only solution I see to your problem is to have a loading panel (with the same skin) for each element.

Thus, you could use ".show()" method of each loading panels, and show them over your elements.

Tags
AjaxLoadingPanel
Asked by
Felix
Top achievements
Rank 1
Answers by
Felix
Top achievements
Rank 1
Loïc
Top achievements
Rank 1
Share this question
or