ASP.NET Weblogs is the #4 Blogger for Ajax
As we seen in my last post, declarative is very powerful. Let's now see how simple it is to use his own custom behavior. First of all, we need to create a behavior. In this example, we will use a simple HoverBehavior. His goal is just to swap a CSS class when mouse is over a DOM element. To create a behav...
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