Data-binding

  • Pic 1
  • Pic 2
  • Pic 3
  • Pic 4

C1Gallery supports data binding, it can bind image url, caption, and link fields, or bind any data in template.

Data binding is allowed if the following properties are set:

  • DataSourceID - sets the ID of the data source.
  • DataCaptionField -  sets the field in the data source from which to load the caption of the images.
  • DataLinkUrlField -  sets the field in the data source from which to load link fields.
  • DataImageUrlField -  sets the field in the data source from which to load image url fields.