asp.net中的回发和自动回复 [英] Postback and Autopostback in asp.net

查看:142
本文介绍了asp.net中的回发和自动回复的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..

任何人都可以解释我在asp.net中的回发和autopostback属性

解决方案

回发是由浏览器,并重新加载整个页面,通常是当页面上的控件(例如按钮)发生变化时。



使用某些控件(例如复选框),您可以选择是否更改控件应该会导致回发。此属性称为AutoPostback。



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



参考

http://stackoverflow.com/questions/3581893/what-is-the-difference-between-postback-autopostback-and-callback [ ^

Hi..
Can any one explane me postback and autopostback property in asp.net

解决方案

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.

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

Reference
http://stackoverflow.com/questions/3581893/what-is-the-difference-between-postback-autopostback-and-callback[^]


这篇关于asp.net中的回发和自动回复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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