JavaScript
  Home arrow JavaScript arrow Page 2 - The Accordion Component in the AJAX Contro...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVASCRIPT

The Accordion Component in the AJAX Control Toolkit
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 25
    2007-03-20

    Table of Contents:
  • The Accordion Component in the AJAX Control Toolkit
  • The Accordion Component
  • Creating a web page displaying an Accordion
  • The design view of the Accordion
  • The page displayed on the browser

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    The Accordion Component in the AJAX Control Toolkit - The Accordion Component


    (Page 2 of 5 )

    The Accordion is rich with many properties, methods and related events as you may see from the screen shot from the object browser in the next picture. Some of the properties used in this tutorial are AutoSize, ContentCSSClass, HeaderCSSClass, and so forth that you will see in the source code of the finished page. Accordion is a container and its contents go into Panes, which you will see down the list.

    The AccordionPane Component

    The AccordionPane is also a container which houses the header and the content. The Accordion Panes will all get inside the Accordion in the Panes. The properties and methods of the AccordionPane are shown in the object browser screen shot in the next picture.

    The Ajax Extensions

    The next picture shows the AJAX extensions and the components that are bundled with the ACT. The ScriptManager provides the JavaScript extensions necessary for the ACT. It must be present when you add any of the other ACT components so that the client script is handled properly. Adding this control is very much like registering the script for the MS AJAX library.

    More JavaScript Articles
    More By Jayaram Krishnaswamy


       · It does work well in IE 7.0, but there are some display problems in the other...
     

    JAVASCRIPT ARTICLES

    - Using jQuery to Preload Images with CSS and ...
    - Using Client-Side Scripting to Preload Image...
    - Removing Non-Semantic Markup when Preloading...
    - Using the Display CSS Property to Preload Im...
    - Preloading Images with CSS and JavaScript
    - Scaling and Moving Web Page Elements with th...
    - Fading, Hiding and Sliding HTML Elements wit...
    - Toggling CSS Properties with the GX JavaScri...
    - Cancel, Queue and Pause Animations with the ...
    - Producing Elastic Effects with the GX JavaSc...
    - Moving Divs Diagonally with the GX JavaScrip...
    - Moving Elements Vertically and Horizontally ...
    - Making Bouncing Effects in Parallel with the...
    - Creating Bouncing Effects with the GX JavaSc...
    - Manipulating Background Colors with the GX J...







    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek