BootstrapClientEdit Class

Declaration

class BootstrapClientEdit 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.

Methods

focus Method

Declaration

focus(): void

getCaption Method

Declaration

getCaption(): string

Returns

Type
string

getEnabled Method

Declaration

getEnabled(): boolean

Returns

Type
boolean

getErrorText Method

Declaration

getErrorText(): string

Returns

Type
string

getInputElement Method

Declaration

getInputElement(): any

Returns

Type
any

getIsValid Method

Declaration

getIsValid(): boolean

Returns

Type
boolean

getReadOnly Method

Declaration

getReadOnly(): boolean

Returns

Type
boolean

getValue Method

Declaration

getValue(): any

Returns

Type
any

off<K> Method

Declaration

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

Parameters

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

Type Parameters

Name Type
K keyof

Returns

Type
this

on<K>(eventName, callback) Method

Declaration

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

Parameters

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

Type Parameters

Name Type
K keyof

Returns

Type
this

once<K>(eventName, callback) Method

Declaration

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

Parameters

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

Type Parameters

Name Type
K keyof

Returns

Type
this

setCaption(caption) Method

Declaration

setCaption(caption: string): void

Parameters

Name Type
caption string

setEnabled(value) Method

Declaration

setEnabled(value: boolean): void

Parameters

Name Type
value boolean

setErrorText(errorText) Method

Declaration

setErrorText(errorText: string): void

Parameters

Name Type
errorText string

setIsValid(isValid) Method

Declaration

setIsValid(isValid: boolean): void

Parameters

Name Type
isValid boolean

setReadOnly(readOnly) Method

Declaration

setReadOnly(readOnly: boolean): void

Parameters

Name Type
readOnly boolean

setValue(value) Method

Declaration

setValue(value: any): void

Parameters

Name Type
value any

validate Method

Declaration

validate(): void