应使用Ajax技术更新面板的原因和时间 [英] Why and when should be used Update panel using Ajax Technology

查看:75
本文介绍了应使用Ajax技术更新面板的原因和时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通常在使用更新面板时。我们为什么要使用更新面板。

如果可能,请举例说明。我将不胜感激。

Normally when we use update panel. And why should we use update panel.
Please explain if possible with example. I will be grateful.

推荐答案

UpdatePanel禁止网站逐个加载控件(例如,在CodeProject上,如果您的连接速度很慢,页面首先加载,然后广告正在加载。如果他们已经使用了更新面板,页面将加载到后台,并在完全加载到浏览器缓存后立即显示。)

如果要阻止用户在页面完全加载之前进行操作,可以使用UpdatePanel。



欢呼,

Marco Bertschi
The UpdatePanel prohibits the site from loading the controls part by part (e.g. on CodeProject, if your connection is slow the page loads first and then the ads are loading. If they''d have used an update panel the page would load in the back ground and be displayed as soon as it is completly loaded into your browsers cache.)
You can use the UpdatePanel when you want to prevent the user to make actions before the page is fully loaded.

cheers,
Marco Bertschi


这篇关于应使用Ajax技术更新面板的原因和时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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