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

RadMaskedTextInput - TextInput event and FocusRectangle

2 Answers 104 Views
MaskedInput (Numeric, DateTime, Text, Currency)
This is a migrated thread and some comments may be shown as answers.
David A.
Top achievements
Rank 1
David A. asked on 17 Apr 2014, 05:35 AM
Hi,

I am using 2014.1.224.40 of the RadMaskedTextInput and the TextInput event is not firing.  PreviewTextInput does fire but not TextInput.  Secondly, I am trying to get rid of the focus rectangle as shown in the attachment by setting FocusVisualStyle="{x:Null}", but it doesn't work.  Is it possible to remove or hide the focus rectangle?

Thank you,
David A.

2 Answers, 1 is accepted

Sort by
0
David A.
Top achievements
Rank 1
answered on 17 Apr 2014, 07:25 AM
Update:

Never mind the TextInput question.  I just realized that event doesn't fire on regular TextBox either so disregard that.  I'd still like to know about the focus rectangle, and if it can be removed.

Thank you,
David A.
0
Pavel R. Pavlov
Telerik team
answered on 21 Apr 2014, 03:16 PM
Hello,

The only way to restrict any element from being focused is to set its Focusable property. As far as I can see, in the provided picture the RadMaskedNumericInput itself is focused - rather than the native TextBox inside. If this is true, you can try setting its Focusable property to false.

Please give this approach a try and let me know if you need any further assistance.

Regards,
Pavel R. Pavlov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
David A.
Top achievements
Rank 1
Answers by
David A.
Top achievements
Rank 1
Pavel R. Pavlov
Telerik team
Share this question
or