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

RadMaskedTextInput Boundary Issue

3 Answers 68 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Imdad Turi
Top achievements
Rank 2
Imdad Turi asked on 26 May 2014, 02:18 PM
Hello Every 1 and Telerik!

I have so many RadMaskedTextInput in my application. Most of them is ReadOnly property "True". By making ReadOnly property equal to True, the boundary gets invisible. i tried by modifying Border thickness and Color but it doesn't reflect changes. To get better idea of the issue please checkout the attached snapshot. i also tried using style tags.

Thanks.

3 Answers, 1 is accepted

Sort by
0
Accepted
Petar Mladenov
Telerik team
answered on 27 May 2014, 02:36 PM
Hello Imdad,

By design in Windows8, Office2013 and Windows8Touch themes, there is no border in the ReadOnly VisualState of the RadMaskedInputControls. You have several options:
  • Edit the default ControlTemplate of the RadMaskedInputBase and control what is changing in ReadOnly VisualState
  • You can consider using IsEnabled = False instead of IsReadOnly = True.
  • You can add Border on top of the MaskedInput in your application. the bind the Visibility of the border to the IsReadOnly property of the MaskedInput via telerik's BooleanToVisibilityConverter


Regards,
Petar Mladenov
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Imdad Turi
Top achievements
Rank 2
answered on 28 May 2014, 10:56 AM
Hello Mladenov,

Thank so much for your response.

can you please a little guide me how to achieve first option , i mean how to edit default ControlTemplete. IsEnabled = false doesn't fit clients requirements, the font seem dull. and the third is so much work i am working on very big product having a lot of such MaskedInputs.
 
thank you.

Imdad
0
Petar Mladenov
Telerik team
answered on 30 May 2014, 12:56 PM
Hello Imdad,

I encourage to you to check this help article which show how to use implicit styles and how to edit control templates:
Setting a theme using Implicit Styles
Editing Control Templates

Regards,
Petar Mladenov
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
General Discussions
Asked by
Imdad Turi
Top achievements
Rank 2
Answers by
Petar Mladenov
Telerik team
Imdad Turi
Top achievements
Rank 2
Share this question
or