Class FormBuilderOptions
Options for Kentico Form Builder feature.
public class FormBuilderOptions
- Inheritance
-
objectFormBuilderOptions
- Extension Methods
Fields
DefaultMaxFileSize
Default maximal allowed upload file size in kilobytes - same as in asp.net core configuration.
public const int DefaultMaxFileSize = 29296
Field Value
- int
Properties
FileUploaderFileSizeLimit
Gets or sets maximal allowed upload file size for FileUploaderComponent in kilobytes.
public int FileUploaderFileSizeLimit { get; set; }
Property Value
- int
Remarks
The actual limit is also depends on Microsoft.AspNetCore.Http.Features.FormOptions configuration. If this value is set higher than Microsoft.AspNetCore.Http.Features.FormOptions.MultipartBodyLengthLimit, than the later will determine the size of upload the framework could support.
TemporaryUploadFilesFolderSizeLimit
Gets or sets the size limit of the temporary folder used to store uploaded files in megabytes. Defaults to 500MB.
public int TemporaryUploadFilesFolderSizeLimit { get; set; }
Property Value
- int