Skip to main content
A newer version of this page is available. .

ASPxClientTextEdit.SetCaretPosition(position) Method

Sets the caret position within the edited text.

Declaration

SetCaretPosition(
    position: number
): void

Parameters

Name Type Description
position number

An integer value that specifies the zero-based index of a text character that shall precede the caret.

Remarks

Note that WebKit-based browsers do not support setting caret position functionality, so the SetCaretPosition method does not work under them.

See Also