HAG

I have a TextBox where the content takes half of the TextBox width. With the RadMaskedTextBox I was able to click anywhere in the free part of the TextBox, hold down the mouse button and select the content with a move to the left side.

In RadMaskedTextInput I have to put the cursor right beside the last character in the TextBox to do this. The free parts of the TextBox just show the normal mouse cursor and not the text-input-cursor.

Is it possible to activate the behaviour of the old RadMaskedTextBox in the new RadMaskedTextInput for making a text-selection with the mouse?

Attached you will find 2 pictures:
The first TextBox on the pictures is the RadMaskedTextInput
The second TextBox is the RadMaskedTextBox

Picture1 (StartSelection.jpg) shows the start of the selection and the different cursors. At the point where you can see the cursors, I'm starting to hold down mouse left and move the mouse to the left

Picture2 (EndSelection) shows that only the text in the RadMaskedTextBox was selected as desired. The text in the RadMaskedTextInput remains unselected.

To select the text in the RadMaskedTextInput I have to move the cursor to the position shown in picture3 (radmaskedtextinput.jpg)

Pavel R. Pavlov

Thank you for contacting us on this matter. The new RadMaskedInput suite exposes new mechanism for selecting the text of the control. You can try setting the SelectionOnFocus property to SelectAll (read more). By doing so you will be able to select all the text of the control by focusing the control.

HAG

thank you for your reply. I have already noticed and testet the SelectionOnFocus property with all possibilities.
SelectAll solves the problem when the RadMaskedTextInput gets the focus (but it is just a workaround, because sometimes I don't want to select all the content). But if the RadMaskedTextInput already is focused, the problem remains... I (and I think also users in general) don't expect such behaviour from a Text-control.

The other Telerik controls ( AutoCompleteBox, DateTimePicker, ComboBox, .. ) don't have this behaviour. There, I can select the text as expected.

Answer

Pavel R. Pavlov

This behavior may be caused by the Theme that you use. If you are using the Windows8 theme you can try setting the HorizontalContentAlignment property to Stretch. Basically the definition of the control may look like this:

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.