Defines the fluent API for configuring the FileManagerUploadValidationSettings settings.
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class FileManagerUploadValidationSettings : JsonObject
Inheritance: objectJsonObjectFileManagerUploadValidationSettings
Inherited Members
Constructors
Initialization for the FileManagerUploadValidationSettings
C#
public FileManagerUploadValidationSettings()
Properties
A list of the file extensions which are allowed for upload. Recognizes entries of both .type and type values.
C#
public string[] AllowedExtensions { get; set; }
Defines the maximum file size in bytes allowed for upload.
C#
public double? MaxFileSize { get; set; }
Defines the minimum file size in bytes allowed for upload.
C#
public double? MinFileSize { get; set; }
Methods
Serialize current instance to Dictionary
C#
protected override void Serialize(IDictionary<string, object> json)
Overrides: