This is a migrated thread and some comments may be shown as answers.

Text box focus goes to first character

4 Answers 67 Views
Input
This is a migrated thread and some comments may be shown as answers.
Tad Rhodes
Top achievements
Rank 1
Tad Rhodes asked on 12 Apr 2010, 08:20 PM
Is it an intended design that when you click inside the radtextbox, that the cursor automatically goes to the front or first character in the text box?  For example, if you have "New Thread" in a text box, you mouse click inside the text box after the word "Thread"; a second later the cursor moves automatically back to the position just before the word "New".

4 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 1
answered on 13 Apr 2010, 06:52 AM

Hello,

How a RadInput control behaves when it receives focus can be controlled by setting the SelectionOnFocus property. When the SelectionOnFocus property is None (the default value), the browser determines the caret placement and selection when the control first gets focus.

-Shinu.

0
Tad Rhodes
Top achievements
Rank 1
answered on 13 Apr 2010, 02:14 PM
Ah, wonderful.  That is exactly what I was looking for.  Thank you.
0
John
Top achievements
Rank 1
answered on 19 Aug 2014, 08:23 PM
I don't see that property in the radMaskEditBox control.
0
Shinu
Top achievements
Rank 1
answered on 20 Aug 2014, 03:47 AM
Hi John,

All four RadInput controls support the SelectionOnFocus property. In addition, two of the RadInput controls, RadDateInput and RadMaskedTextBox, let you format their values differently, depending on whether they have focus. Try to set the Mask, PromptChar Properties of RadMaskedTextBox for formatting value with focus.

Thanks,
Shinu.

Tags
Input
Asked by
Tad Rhodes
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Tad Rhodes
Top achievements
Rank 1
John
Top achievements
Rank 1
Share this question
or