This demo illustrates how the DevExpress ASP.NET Image Gallery (ASPxImageGallery) control can be populated with image information taken from a data source. The ASPxImageGallery control can be bound to a data source in a standard manner - using the DataSourceID or DataSource property. While binding, the control automatically creates image items and retrieves their property values from the corresponding data items. The control implements specific properties that point to data fields containing the required data:
In this demo, the image gallery control is bound to a standard XmlDataSource type data source by specifying the DataSourceID property. The FullscreenViewerThumbnailUrlField, ImageUrlField, TextField, and ThumbnailUrlField properties are used to get the corresponding property values from specified fields.