Skip to main content
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.v24.1.dll

NuGet Package: DevExpress.Web

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:

Library Object Type Path to EnableImageAutoGeneration
ASP.NET Web Forms Controls ASPxImageSlider
.SettingsAutoGeneratedImages .EnableImageAutoGeneration
ASP.NET MVC Extensions ImageSliderSettings
.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