Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
165
(blurring or progress indicator) for ajax call in IgDialog
posted

I have button control in igdialog from which I am  doing the ajax call, during this call I need to blur/ show progress on igdialog, so please let me know how can I do this.

Parents
  • 16310
    Suggested Answer
    Offline posted

    Hello Rakesh,

    You can simply use jQuery and bind 2 functions to ajaxStart() and ajaxStop():

    $(document).ajaxStart(function() {
       $('#wait').show();  // show loading indicator
    });

    $(document).ajaxStop(function () {
       $('#wait').hide();  // hide loading indicator
    });

    It does not matter if the button is inside igDialog or not. Refer to my sample for a demonstration and please let me know if this is your request or if I have misunderstood you.

    igDialog_loading.zip
Reply Children