On this example we demonstrate the customizable behavior of the
RadTextBox control.
- Switch the position for the RadTextBox button (left or right) by setting the ButtonPosition
property of the control
- Choose whether to display the mouse cursor at the beginning/end of the input text or select the whole text when control
gains focus. This is accomplished via the SelectionOnFocus property
In addition, it is up to you to decide whether a postback will be triggered when the user changes the text in the input.
To cancel the postback request, wire the
OnValueChanged event of
RadTextBox and
return false from the corresponding handler. Still you can trigger form submit (when pressing the input button) after
setting the
AutoPostBack property of the control to
true and hooking the
OnButtonClick event of RadTextBox.