ASP.NET Weblogs is the #4 Blogger for Ajax
So far you have seen simple object and list serialization. A best practice is to return a common result object that has some status, message and then the real payload. It's handy when you only need to return some error but no object or list. I use a common Result object that has three properties -...
Back in the browser, the JavaScript used to handle the Ajax response gets invoked and we replace the old content area with the new stuff. It would be great if we were done at this point, however, this strategy requires each link (and button click) to be converted into an Ajax request -- so we i...
Thu, Dec 10 | from Sun Bloggers