ASP.Net AJAX Accordion Control DataBinding using C#

AJAX Accordion Control also supports databinding feature that allows you to bind the data retrieved from SQL datasource. Accordion control provides AccordionPane template that allows you to define Header and Content section. You can add multiple Accordion Panes to display multiple collapsible panels. In  this sample we have used SQL Northwind database to display the Category names as Header of each accordion pane and their related products in their content section. After Accordion control DataBinding it will display the Category Names in different panes of the control and a click on each pane will expand the content section displaying their products.

Try the sample below to understand the functionaity of AJAX Accordion control SQL DataSource DataBinding:

Beverages
Product Name
Chai
Chang
Guaraná Fantástica
Sasquatch Ale
Steeleye Stout
Côte de Blaye
Chartreuse verte
Ipoh Coffee
Laughing Lumberjack Lager
Outback Lager
Rhönbräu Klosterbier
Lakkalikööri
Condiments
Confections
Dairy Products
Grains/Cereals
Meat/Poultry
Produce
Seafood