selectionOnFocus Property
Gets sets option which is used for selection when control gets focus. Note: new value does not persist to server. Possible values: 0 - select all text, 1 - unselect all and set caret to the beginning, 2 - unselect all and set caret to the end, 3 - browser default.
Syntax
ASP.NET Ajax Javascript (Specification) | |
---|
function get_selectionOnFocus() : Integer
function set_selectionOnFocus(value : Integer) |
ASP.NET Ajax Javascript (Usage) | |
---|
var resultVar = instanceOfWebTextEditor.get_selectionOnFocus(); |