Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Data Binding

FirstPrev1234NextLast v
(Athens) Academy of Athens
(Athens) Academy of Athens
(Barcelona) Arc de Triomf
(Barcelona) Arc de Triomf
(Barcelona) Camp Nou
(Barcelona) Camp Nou
(Berlin) Brandenburg Gate
(Berlin) Brandenburg Gate
(Berlin) Red City Hall
(Berlin) Red City Hall
(Berlin) Reichstag
(Berlin) Reichstag
(Cairo) Cairo Citadel
(Cairo) Cairo Citadel
(Cairo) Mosque of Ibn Tulun
(Cairo) Mosque of Ibn Tulun
(Las Vegas) Bally's Hotel and Casino
(Las Vegas) Bally's Hotel and Casino
(Las Vegas) Bellagio Hotel and Casino
(Las Vegas) Bellagio Hotel and Casino
(Las Vegas) Luxor Hotel and Casino
(Las Vegas) Luxor Hotel and Casino
(London) St Paul's Cathedral
(London) St Paul's Cathedral
FirstPrev1234NextLast v

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.