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.v20.2.dll
NuGet Package: DevExpress.Web
Declaration
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 Controls and MVC Extensions | ASPxImageSlider |
|
ASP.NET MVC Extensions | ImageSliderSettings |
|
MVCxImageSlider |
|
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.