模态弹出窗口作为等待页面 [英] Modal Popups as Wait Page

查看:77
本文介绍了模态弹出窗口作为等待页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我叫Vikash Gohil.

我有一个Web应用程序,需要根据用户输入处理一些数据.

处理时间取决于用户的选择.

如果他选择了更多数据进行处理,则会花费更多时间,因此屏幕将保持空闲状态.

我想要的是在后台进行处理时向用户显示等待动画.

我正在考虑通过以下方式使用Modalpopup扩展器.

ModalPopup将包含GIF图像.
加载/显示ModalPopup后,后台进程将开始.
该过程完成后,它将关闭Modalpopup.

谁能在这件事上指导我.或有比这更好的解决方案的人.

我在网上搜索了有关处理Modalpopup事件的信息,但没有成功.

任何帮助将不胜感激.

在此先感谢您,等待您的回复.

Hello, This is Vikash Gohil.

I have a Web App in which I need to Process some data depending upon the user input.

The processing time depends upon the user selection.

If he has selected more data for processing it takes more time and so the screen remains idle for that much time.

What i want is to show a wait animation to the user while the processing is on in Background.

I was thinking of using Modalpopup extender in the following way.

The ModalPopup will contain GIF Image.
When the ModalPopup is Loaded/Shown the Background process will start.
After the Process has been completed, it will Close the Modalpopup.

Can anyone guide me in this matter. OR Anyone having a better solution than this.

I have searched on web on handling Modalpopup events but no success.

Any help would be greatly appreciated.

Thanks in Advance, awaiting a response soon.

推荐答案

我在这个站点上进行的很少搜索就可以为您提供类似的文章/控件:
具有Designer支持的Web应用程序的可自定义加载"控件 [
I little search on this very site can provide you articles/controls like this:
Customizable ''Loading'' Control for Web Applications with Designer Support[^]

Sound''s like this can fit in your case.


Web应用程序中没有诸如后台进程之类的东西.您将必须使用服务来执行此操作,而只需继续进行常规AJAX调用以检查其是否完成.
There is no such thing as a background process in a web app. You''d have to use a service to do this, and just keep making regular AJAX calls to check if it is finished.


这篇关于模态弹出窗口作为等待页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆