Oracle Magazine Special offer for AjaxImpact.com Visitors!! Subscribe to Oracle Magazine for Free!
AJAX IMPACT


TUTORIALS
AJAX DropDownList
02/19/2006 By Enrico Elizar Samuel


AJAX (Asynchronous JavaScript and XML) has become so popular, thanks to Google Suggest. AJAX has opened the possibility to make more responsive and interactive web applications, bringing them closer to Windows form applications. Web developers are the bunch of guys who were happy at first. They have a new toy, which is composed of old toys they have neglected so far, and now they can make cool things with the toy. On the other hand, after getting their free account in GMail, end users demand more with their department web application. They hate postback, they want no refresh, and everything just stays there but still gets up-to-date. Is it possible?

Those demanding users are my motivation to create this custom control. Let me introduce AjaxDropDownList, my first attempt to contribute into AJAX world. AjaxDropDownList is a dropdownlist control that has the following features:

  • Fetch data asynchronously in the background from a server source, with no postback.
  • Can trigger change event to other dropdownlists, thus generating a cascading linked dropdownlist effect.
  • Is encapsulated into a single control which can be easily dragged and dropped into the designer or added from the server code.
  • Uses common code to access the selectedItem just like a normal dropdownlist, thus can be easily integrated with other UI framework.
  • Compatible with Internet Explorer 6, Mozilla Firefox 1.04, and Netscape 8.02.

    Although I call the control as AjaxDropDownList, it does not use XML to transfer the data. I use JSON (JavaScript Object Notation) by Douglas Crockford which is more lightweight and can be easily consumed by JavaScript as an object. I am aware of the potential and flexibility that XML offers compared to JSON. But in my case, JSON is enough to serve the requirements.

       Read Full Tutorial

     Rate this Ajax Tutorials
     Rating: 8.3 out of 4 votes cast

    AJAX NEWS
    04/01/2007 wxJavaScript : porting wxWidgets to JavaScript.
    03/31/2007 DED|Chain - The web developers JavaScript Kit
    03/30/2007 Clipperz Crypto Library - a JavaScript library of crypto primitives
    03/28/2007 ETech - AJAX Unplugged Slides
    03/27/2007 Stripe Generator: ajax powered web 2.0 tool!
    03/26/2007 Finally Microsoft joins the OpenAjax Alliance


    INDUSTRY NEWS
    05/19/2006 Ajax grabs center stage at JavaOne, By Tony Baer
    05/15/2006 Oracle to boost AJAX, Java , By Paul Krill
    05/13/2006 Open AJAX Group Drafts Development Plans, By Stacy Cowley
    05/13/2006 AJAX Powers Interactive Marketing ASP, By AjaxWorld News Desk
    05/12/2006 AJAX Experts Tackle Security, Other Issues , By Darryl K. Taft
    05/11/2006 Adobe Releases Spry Framework for AJAX, By AjaxWorld News Desk
    More 
           

          © 2008 ajaximpact.com. All rights reserved.