We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

To show the waitingPopup while using the Dynamic content.

Platform: JavaScript |
Control: ejDialog |
Published Date: July 29, 2016 |
Last Revised Date: July 29, 2016

Description:

To show the WaitingPopup while loading dynamic content to the dialog control using AJAX request, after the data is retrieved from client the WaitingPopup should be closed.

 

Solution:

  1. Create a web application to rendering EJ controls.
  2. Add html elements for button, dialog and WaitingPopup and initialize them from script.

 

Please refer the following code snippet.

 

 

 

In the above sample, when we open the dialog the AJAX request will be sent to the corresponding page to load the content of dialog component. Before the AJAX request is initiated, the WaitingPopup is shown using the beforeSend event of AJAX. In the success function of AJAX, the WaitingPopup is closed and the obtained data will be placed to the content of dialog component.

 

You can download the complete sample from the following location.

Sample Location: Sample

 

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon