Posted on 2005-11-24 14:39
大阿福 阅读(1055)
评论(4) 编辑 收藏
1. Mark "reload-capable" zones of a web page with AjaxAnywhere custom tags.
2. Instead of submitting a form in traditional way, do it by AjaxAnywhere javascript API.
3. During request processing on the server-side, determine the zones to refresh. (You can implement this logic either on the client-side via JavaScript or on the server-side, via AjaxAnywhere API.)
4. On the server-side AjaxAnywhere will generate an XML containing only the "updated" HTML.
5. On the client-side AjaxAnywhere javascript will receive the XML, parse it and update the selected zones.