Skip to main content

BootstrapUploadControlValidationSettings Class

Declaration

class BootstrapUploadControlValidationSettings extends Control

Remarks

IMPORTANT

Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

Inheritance

Control
BootstrapUploadControlValidationSettings

Properties

allowedFileExtensions Property

Declaration

readonly allowedFileExtensions: string[]

Property Value

Type
string[]

invalidFileNameCharacters Property

Declaration

readonly invalidFileNameCharacters: string[]

Property Value

Type
string[]

maxFileCount Property

Declaration

readonly maxFileCount: number

Property Value

Type
number

maxFileSize Property

Declaration

readonly maxFileSize: number

Property Value

Type
number

Methods

off<K> Method

Declaration

off<K extends keyof BootstrapUploadControlValidationSettingsEventMap>(
    eventName?: K,
    callback?: (this: BootstrapUploadControlValidationSettings,
    args?: BootstrapUploadControlValidationSettingsEventMap[K]) => void
): this

Parameters

Name Type
eventName K
callback (this: BootstrapUploadControlValidationSettings, args?: BootstrapUploadControlValidationSettingsEventMap[K]) => void

Type Parameters

Name Type
K keyof

Returns

Type
this

on<K>(eventName, callback) Method

Declaration

on<K extends keyof BootstrapUploadControlValidationSettingsEventMap>(
    eventName: K,
    callback: (this: BootstrapUploadControlValidationSettings,
    args?: BootstrapUploadControlValidationSettingsEventMap[K]) => void
): this

Parameters

Name Type
eventName K
callback (this: BootstrapUploadControlValidationSettings, args?: BootstrapUploadControlValidationSettingsEventMap[K]) => void

Type Parameters

Name Type
K keyof

Returns

Type
this

once<K>(eventName, callback) Method

Declaration

once<K extends keyof BootstrapUploadControlValidationSettingsEventMap>(
    eventName: K,
    callback: (this: BootstrapUploadControlValidationSettings,
    args?: BootstrapUploadControlValidationSettingsEventMap[K]) => void
): this

Parameters

Name Type
eventName K
callback (this: BootstrapUploadControlValidationSettings, args?: BootstrapUploadControlValidationSettingsEventMap[K]) => void

Type Parameters

Name Type
K keyof

Returns

Type
this