Explore Ways to Extend ASP.NET AJAX Client-Side Function
page 4 of 9
by Xianzhong Zhu
Feedback
Average Rating: 
Views (Total / Last 10 Days): 38874/ 82

The Behavior Way

Beyond simple data access and updates, presentation layers generally present some more sophisticated user interfaces, intended to ease a user’s workflow. One of the technologies to this end offered by MS AJAX is behaviors. In fact, these behaviors are similar to DHTML behaviors, but they are greatly improved because they are not limited to Internet Explorer. Built using standard JavaScript, they work on all mainstream browsers. An MS AJAX behavior attaches itself to DHTML elements using controls and dynamically changes the behavior of the control based on this attachment.

For example, if you want to add drag-and-drop functionality to a control, you can do this by attaching the appropriate behavior. Other typical GUI enhancements such as tooltips, floating windows, and some animations and visual effects can also be implemented as MS AJAX behaviors.

In the next section we will show you how to create a custom behavior named MyHoverBehavior.


View Entire Article

User Comments

Title: ZK@Web Marketing Blog   
Name: zk5182@yahoo.com
Date: 2009-06-03 1:35:51 AM
Comment:
I downloaded the ASP.NET 2.0 PayPal Commerce Starter Kit (CSK) today for kicks and ended up creating a new provider, called InventoryProvider, that provides the basis for a more functional and feature-rich inventory management system. I say "provides the basis," because my immediate intentions were to do the minimal amount of work possible to have CSK use the provider and then add new features in increments later.






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-19 6:07:37 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search