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.
Unfortunately, activation email could not send to your email. Please try again.

Show waitingpopup on request

Thread ID:





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

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 07:16 AM

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.

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.