ASPxClientHtmlEditor.GetSelection Method

Returns the selection in the ASPxHtmlEditor.

Declaration

GetSelection(): ASPxClientHtmlEditorSelection

Returns

Type Description
ASPxClientHtmlEditorSelection

The ASPxClientHtmlEditorSelection object specifying the selection within the ASPxHtmlEditor.

Remarks

The ASPxHtmlEditor allows you to access and modify the currently selected content onthe client side. To access the selection, use the editor's GetSelection client function.

NOTE

The selection API is available only in the Design View.

Online Demo

Client-Side Selection

See Also