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

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 object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public FileManagerUploadValidationSettingsBuilder(FileManagerUploadValidationSettings settings)
Parameters:settingsFileManagerUploadValidationSettings

The FileManagerUploadValidationSettings

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)
Parameters:valuestring[]

The value that configures the allowedextensions.

Returns:

FileManagerUploadValidationSettingsBuilder

Defines the maximum file size in bytes allowed for upload.

C#
public FileManagerUploadValidationSettingsBuilder MaxFileSize(double value)
Parameters:valuedouble

The value that configures the maxfilesize.

Returns:

FileManagerUploadValidationSettingsBuilder

Defines the minimum file size in bytes allowed for upload.

C#
public FileManagerUploadValidationSettingsBuilder MinFileSize(double value)
Parameters:valuedouble

The value that configures the minfilesize.

Returns:

FileManagerUploadValidationSettingsBuilder