RadTextbox by Default text should be highlight or selected
1 Answer, 1 is accepted
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 09 Mar 2022, 11:08 AM
Hello, Naresh,
By default, when RadTextBox gains the focus when pressing the Tab key, its text is automatically selected. However, if you click the control, it is focused but the text is not selected. The following code snippet demonstrates a sample approach how to select the entire text in RadTextBox:
Yes, if you don't want any selected text, set the SelectionLength property to 0. Specifying the SelectionStart property will control the cursor's position.
If you are still experiencing any further difficulties, it would be greatly appreciated if you give us more details about the exact requirement that you are trying to accomplish. Once, we get better understanding of the precise case, we would be able to think about a suitable solution and provide further assistance.