Show and Hide AjaxLoadingPanel explicitly over multiple elements

7 posts, 0 answers
  1. Felix
    Felix avatar
    51 posts
    Member since:
    Sep 2014

    Posted 08 May Link to this post

    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

  2. Felix
    Felix avatar
    51 posts
    Member since:
    Sep 2014

    Posted 16 May Link to this post

    Does really no one has a solution for my problem?
  3. Loïc
    Loïc avatar
    27 posts
    Member since:
    Oct 2016

    Posted 16 May in reply to Felix Link to this post

    Hi Felix,

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

  4. Felix
    Felix avatar
    51 posts
    Member since:
    Sep 2014

    Posted 16 May in reply to Loïc Link to this post

    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.

     

  5. Loïc
    Loïc avatar
    27 posts
    Member since:
    Oct 2016

    Posted 16 May in reply to Felix Link to this post

    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) ?

  6. Felix
    Felix avatar
    51 posts
    Member since:
    Sep 2014

    Posted 16 May in reply to Loïc Link to this post

    Yes I've already tried that but with no luck.
  7. Loïc
    Loïc avatar
    27 posts
    Member since:
    Oct 2016

    Posted 16 May in reply to Felix Link to this post

    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.

Back to Top