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

Unable to change forecolor when the currency control is disabled

2 Answers 54 Views
MaskedInput (Numeric, DateTime, Text, Currency)
This is a migrated thread and some comments may be shown as answers.
Jayakumari
Top achievements
Rank 1
Jayakumari asked on 21 Oct 2011, 01:47 PM
I have been trying to change the forecolor to 'red' for Telerick currency input.  The color is not displayed when it is getting disabled. How to overcome this.. In my scenario, i cant use readonly, as i have many to change. Please suggest, if i have to apply any staticresouce, just to highlight the text in Red even when it is disabled.

2 Answers, 1 is accepted

Sort by
0
Accepted
Tina Stancheva
Telerik team
answered on 24 Oct 2011, 05:46 PM
Hi Jayakumari,

You can customize the default appearance of the MaskedCurrencyInput by editing its ControlTemplate. Then you'll need to change the Disabled visual state of the control. I attached a sample project to get you started.

Kind regards,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Jayakumari
Top achievements
Rank 1
answered on 25 Oct 2011, 09:42 AM
Hi,
 Thanks for your code. It resolved the issue.

Tags
MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
Jayakumari
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Jayakumari
Top achievements
Rank 1
Share this question
or