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

ImageSliderAutoGeneratedImagesSettings.EnableImageAutoGeneration Property

Specifies whether images from the image source folder should be cached on the server side, or they should be processed on the client side at runtime.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue(false)]
public bool EnableImageAutoGeneration { get; set; }

Property Value

Type Default Description
Boolean **false**

true to cache images on the server side; false to process images on the client side at runtime.

Property Paths

You can access this nested property as listed below:

Object Type Path to EnableImageAutoGeneration
ASPxImageSlider
.SettingsAutoGeneratedImages.EnableImageAutoGeneration
ImageSliderSettings
.SettingsAutoGeneratedImages.EnableImageAutoGeneration
MVCxImageSlider
.SettingsAutoGeneratedImages.EnableImageAutoGeneration

Remarks

When the ASPxImageSliderBase.ImageSourceFolder property is specified and the EnableImageAutoGeneration property is set to true, the control caches the images from the source folder to the folder specified via the AutoGeneratedImagesSettingsBase.ImageCacheFolder property.

If the EnableImageAutoGeneration property is set to false, images from the image source folder are processed on the client side at runtime.

You can use the ASPxImageSliderBase.UpdateImageCacheFolder method to update the content of the cache folder.

See Also