Skip to main content
A newer version of this page is available. .
Tab

ASPxImageSlider.ImageContentBytesField Property

Gets or sets the data source field which provides item binary images.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue("")]
public string ImageContentBytesField { get; set; }

Property Value

Type Default Description
String String.Empty

A string value that specifies the name of the data source field which contains binary images.

Remarks

The ASPxImageSlider control provides the ability to display binary images. Use the ImageContentBytesField property to specify the data source field from which binary images should be retrieved. If the ImageContentBytesField property of a data bound image slider is not defined, the control can automatically obtain item data from a data field whose name is “ImageContentBytes”.

To specify the data source field which provides item thumbnail binary images, use the ASPxImageSlider.ThumbnailContentBytesField property.

Note, that the ASPxImageSlider control caches the images to the folder specified via the AutoGeneratedImagesSettingsBase.ImageCacheFolder property. To get a cached image URL use the ImageSliderItem.BinaryImageUrl property.

See Also