回发,自动回发和回调之间有什么区别? [英] What is the difference between postback, autopostback and callback?

查看:55
本文介绍了回发,自动回发和回调之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您可以定义自动回发和回发的区别吗,以及哪个Web服务器控件支持自动回发和回发,以及回发和回调之间的区别?

can you define autopostback and postback and it's differences and which web server control support autopostback and postback and also the difference between postback and callback?

推荐答案

浏览器会发起回发,并通常在页面上的控件(例如按钮)发生更改时重新加载整个页面.

A postback is initiated by the browser, and reloads the whole page, usually when a control on the page (e.g. a button) is changed.

对于某些控件(例如复选框),您可以选择是否更改控件会导致回发.此属性称为自动回发".

With some controls (e.g. Checkboxes), you choose if changing the control should result in a postback. This property is called AutoPostback.

回调由页面中的Java脚本启动,并且可以加载/更新页面的某些部分,例如通过操作DOM.

A callback is initiated by java script in the page, and can load/update parts of the page, e.g. by manipulating the DOM.

这篇关于回发,自动回发和回调之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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