Defines the fluent API for configuring the FileManagerUploadValidationSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class FileManagerUploadValidationSettingsBuilder
Inheritance: objectFileManagerUploadValidationSettingsBuilder
Inherited Members
Constructors
Initialize the FileManagerUploadValidationSettingsBuilder
C#
public FileManagerUploadValidationSettingsBuilder(FileManagerUploadValidationSettings settings)
Methods
A list of the file extensions which are allowed for upload. Recognizes entries of both .type and type values.
C#
public FileManagerUploadValidationSettingsBuilder AllowedExtensions(params string[] value)
The value that configures the allowedextensions.
Returns:Defines the maximum file size in bytes allowed for upload.
C#
public FileManagerUploadValidationSettingsBuilder MaxFileSize(double value)
The value that configures the maxfilesize.
Returns:Defines the minimum file size in bytes allowed for upload.
C#
public FileManagerUploadValidationSettingsBuilder MinFileSize(double value)
The value that configures the minfilesize.
Returns: