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 Description
string

getEnabled Method

Declaration

getEnabled(): boolean

Returns

Type Description
boolean

getErrorText Method

Declaration

getErrorText(): string

Returns

Type Description
string

getInputElement Method

Declaration

getInputElement(): any

Returns

Type Description
any

getIsValid Method

Declaration

getIsValid(): boolean

Returns

Type Description
boolean

getReadOnly Method

Declaration

getReadOnly(): boolean

Returns

Type Description
boolean

getValue Method

Declaration

getValue(): any

Returns

Type Description
any

off<K> Method

Declaration

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

Parameters

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

Type Parameters

Name Type Description
K keyof

Returns

Type Description
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 Description
eventName K
callback (this: BootstrapClientEdit, args?: BootstrapClientEditEventMap[K]) => void

Type Parameters

Name Type Description
K keyof

Returns

Type Description
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 Description
eventName K
callback (this: BootstrapClientEdit, args?: BootstrapClientEditEventMap[K]) => void

Type Parameters

Name Type Description
K keyof

Returns

Type Description
this

setCaption(caption) Method

Declaration

setCaption(caption: string): void

Parameters

Name Type Description
caption string

setEnabled(value) Method

Declaration

setEnabled(value: boolean): void

Parameters

Name Type Description
value boolean

setErrorText(errorText) Method

Declaration

setErrorText(errorText: string): void

Parameters

Name Type Description
errorText string

setIsValid(isValid) Method

Declaration

setIsValid(isValid: boolean): void

Parameters

Name Type Description
isValid boolean

setReadOnly(readOnly) Method

Declaration

setReadOnly(readOnly: boolean): void

Parameters

Name Type Description
readOnly boolean

setValue(value) Method

Declaration

setValue(value: any): void

Parameters

Name Type Description
value any

validate Method

Declaration

validate(): void