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. Image for the cookie policy date
close icon

How to properly display and close a WaitPopUp window

I would like to display a waitpopup at the start of a server request and close upon request completion.

I have use the client sid _popUp.ShowPopUp() method to display the popup, but I can't figure out how to correctly close it. The only way I can get the WaitPopUp to close is to set the CloseTimeOut value.

I should be able to close the WaitPopUp window at the end of the server request, correct?

Is it a client side call as well?


4 Replies

MW Melba Winshia Syncfusion Team July 10, 2008 12:55 PM UTC

Hi Paul,

Thank you for your interest in Syncfusion Products.

You can close the WaitingPopup by using Popup.HidePopup() method. Please refer below online sample to get more details on this issue:

http://www2.syncfusion.com/infrastructure/web/tools.web/samples/2.0/NotificationPackage/WaitingPopup/CoreFeature/CS/CoreFeature.aspx

Please try this and let me know if this helps.

Thanks,
Melba



DS DUPPaul Seeverson July 10, 2008 02:14 PM UTC

Melba -

I get "Sys is undefined" error when trying to add the request handler javascript - any suggestions?

Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(BeginRequestHandler);
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);


>Hi Paul,

Thank you for your interest in Syncfusion Products.

You can close the WaitingPopup by using Popup.HidePopup() method. Please refer below online sample to get more details on this issue:

http://www2.syncfusion.com/infrastructure/web/tools.web/samples/2.0/NotificationPackage/WaitingPopup/CoreFeature/CS/CoreFeature.aspx

Please try this and let me know if this helps.

Thanks,
Melba





DS DUPPaul Seeverson July 10, 2008 03:26 PM UTC

Melba -

I got it - disregard the last post.

There is however a lag in the animation in my WaitPopUp - could that be a lack of resources on my local development machine?



MW Melba Winshia Syncfusion Team July 11, 2008 12:36 PM UTC

Hi Paul,

Thank you for the update.

I am afraid that I am not able to see any animation problems with WaitPopUp. Could you please modify below sample to reproduce the issue so that we could analyze this issue further and sort out the cause of the issue and provide you a solution?

http://websamples.syncfusion.com/samples/Tools.Web/6.3.0.25/Tools_ASP_WaitingPopup/main.htm

Thanks,
Melba



Loader.
Live Chat Icon For mobile
Up arrow icon