New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI UploadValidationSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class UploadValidationSettings

Inheritance: objectUploadValidationSettings

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public UploadValidationSettings()

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; }

Upload member.

C#
public Upload Upload { get; set; }

Methods

Serialize method.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>