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

Show waitingpopup on request

Thread ID:





125566 Aug 25,2016 08:30 AM UTC Aug 26,2016 11:16 AM UTC ASP.NET Web Forms 1
Tags: WaitingPopup
Martin Sickel
Asked On August 25, 2016 08:30 AM UTC

Dear All

I try to archieve the following

I have created a simple webpage with a grid and a button.

Now I try to archieve the following 

       protected void btnLoad_Click(object Sender, Syncfusion.JavaScript.Web.ButtonEventArgs e)
             // show waitingpopup
            loadDBDataAndShowInGrid();   // time to read the data is about 90 seconds
            //  hide waitingpopup

How can I do this?

Thanks for helping.


Kasithangam C [Syncfusion]
Replied On August 26, 2016 11:16 AM UTC

Hi Martin,   
Thanks for contacting Syncfusion support.   
We had prepared a sample based on your requirement “while click button show the waiting popup and hide the popup after loading the grid data” and it is available under the following link:   
Sample: Sample 
In this above sample, we have shown the waiting popup in the client side event as shown below code: 
//click event of button 
        function getData(e) { 
            var element = $("#<%=Grid.ClientID%>"); 
            if (element.ejWaitingPopup("model.showOnInit")) 
Load the grid content in the code behind via button click as shown below code: 
protected void GetData(object Sender, Syncfusion.JavaScript.Web.ButtonEventArgs e) 
            this.Grid.DataSource = OrderRepository.GetAllRecords().ToList(); 
After the content load to grid control, waiting popup will be hidden automatically. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

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