Skip to main content

BootstrapClientEdit Class

#Declaration

TypeScript
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

TypeScript
focus(): void

#getCaption Method

#Declaration

TypeScript
getCaption(): string

#Returns

Type
string

#getEnabled Method

#Declaration

TypeScript
getEnabled(): boolean

#Returns

Type
boolean

#getErrorText Method

#Declaration

TypeScript
getErrorText(): string

#Returns

Type
string

#getInputElement Method

#Declaration

TypeScript
getInputElement(): any

#Returns

Type
any

#getIsValid Method

#Declaration

TypeScript
getIsValid(): boolean

#Returns

Type
boolean

#getReadOnly Method

#Declaration

TypeScript
getReadOnly(): boolean

#Returns

Type
boolean

#getValue Method

#Declaration

TypeScript
getValue(): any

#Returns

Type
any

#off<K> Method

#Declaration

TypeScript
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

TypeScript
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

TypeScript
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

TypeScript
setCaption(
    caption: string
): void

#Parameters

Name Type
caption string

#setEnabled(value) Method

#Declaration

TypeScript
setEnabled(
    value: boolean
): void

#Parameters

Name Type
value boolean

#setErrorText(errorText) Method

#Declaration

TypeScript
setErrorText(
    errorText: string
): void

#Parameters

Name Type
errorText string

#setIsValid(isValid) Method

#Declaration

TypeScript
setIsValid(
    isValid: boolean
): void

#Parameters

Name Type
isValid boolean

#setReadOnly(readOnly) Method

#Declaration

TypeScript
setReadOnly(
    readOnly: boolean
): void

#Parameters

Name Type
readOnly boolean

#setValue(value) Method

#Declaration

TypeScript
setValue(
    value: any
): void

#Parameters

Name Type
value any

#validate Method

#Declaration

TypeScript
validate(): void