Declarative Binding

Soft drinks, coffees, teas, beers, and ales

This sample shows how to bind data to the C1Accordion control.

In this sample the Header and Content data fields are determined by the C1Accordion control automatically.

But, if you wish to bind Header/Content text to a specific fields, then you can use HeaderField and ContentField properties, e.g.:

<C1Accordion:C1Accordion runat="server"
			ID="C1Accordion1"
			DataSourceID="AccessDataSource1" 
			HeaderField="Description" 
			ContentField="CategoryName">
</C1Accordion:C1Accordion>