Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class UploadValidationSettings : IUploadValidationSettings
Inheritance: objectUploadValidationSettings
Implements:
Inherited Members
Constructors
C#
public UploadValidationSettings()
Properties
Lists which file extensions are allowed to be uploaded
C#
public string[] AllowedExtensions { get; set; }
Implements:
Defines the maximum file size that can be uploaded in bytes
C#
public double? MaxFileSize { get; set; }
Implements:
Defines the minimum file size that can be uploaded in bytes
C#
public double? MinFileSize { get; set; }
Implements:
Methods
Serializes the Validation uploading settings to the writer.
C#
public void SerializeTo(string key, IDictionary<string, object> options)
The serialization key.
optionsIDictionary<string, object>The target dictionary.