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

Defines the fluent API for configuring the PromptBoxFileSelectButtonRestrictionsSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PromptBoxFileSelectButtonRestrictionsSettingsBuilder

Inheritance: objectPromptBoxFileSelectButtonRestrictionsSettingsBuilder

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

Constructors

Methods

Defines the allowed file extensions.

C#
public PromptBoxFileSelectButtonRestrictionsSettingsBuilder AllowedExtensions(params string[] value)
Parameters:valuestring[]

The value that configures the allowedextensions.

Returns:

PromptBoxFileSelectButtonRestrictionsSettingsBuilder

Defines the maximum file size in bytes.

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

The value that configures the maxfilesize.

Returns:

PromptBoxFileSelectButtonRestrictionsSettingsBuilder