有区别吗,或者这些术语是同义词吗?
抱歉,如果之前有人问过这个问题,我只能找到完整回发和回调之间的区别。我已经知道完整回发有何不同。
在使用 ASP.Net 2.0 时,如果这很重要的话。 (顺便问一下,这重要吗?或者这些术语对于任何基于 Web 的应用程序的定义都相同吗?)
提前致谢。
最佳答案
好问题...
来自http://p3net.mvps.org/CHowSharp/2007/August/08192007.aspx
The only real difference is the terminology but when people are using these terms they generally have two different concepts in mind. A callback occurs when the client calls back to the server to perform some work and then updates the UI on the client. It is different than a normal postback because only the necessary UI elements are updated.
A partial postback is the AJAX terminology for a callback. In reality a partial postback uses a callback to call back into the server. Callbacks are supported in ASP.NET v2 but not partial postbacks. AJAX adds support for partial postbacks. With partial postbacks AJAX effectively takes over the rendering of the page. When a partial postback occurs AJAX steps in lets ASP.NET start the normal postback process. However AJAX controls the rendering so it only renders the controls that it needs. When rendering is complete AJAX packages up the rendered data and returns it to the client. On the client-side AJAX updates the DOM for the page with the changes.
关于asp.net - 回调和部分回发有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3016424/