3 Answers, 1 is accepted
0
Hello Patrick,
By design when RadNumericUpDown is in ReadOnly state only its Increase/Decrease buttons look disabled.
You could change this by creating a custom Style for the NumericUpDown and make the changes in its template, please take a look at the Editing Control Templates topic for more details on the approach.
Also if you could show us how you're expecting it to look, we will be able to provide further instructions.
Regards,
Yana
Telerik
By design when RadNumericUpDown is in ReadOnly state only its Increase/Decrease buttons look disabled.
You could change this by creating a custom Style for the NumericUpDown and make the changes in its template, please take a look at the Editing Control Templates topic for more details on the approach.
Also if you could show us how you're expecting it to look, we will be able to provide further instructions.
Regards,
Yana
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
0
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
answered on 26 Feb 2016, 09:57 AM
Hi Yana,
I'm often using the RadNumericUpDownControl without the increase/decrease buttons as a TextBox for numbers, setting the LargeChange and AmallChange properties to 0. So the control looks really the same when read-only or read/write.
The TextBox and RadComboBox controls show their text in Gray instead of Black when they are in read-only mode. I think you should follow this design.
Note that the RadDateTimePicker control has also the same problem.
0
Hello Patrick,
Thank you for sending your feedback.
I have attached a sample project which demonstrates how you could change the Foreground of the text inside RadNumericUpDown with a trigger and without editing the whole template.
I hope this approach will be suitable to you.
Regards,
Yana
Telerik
Thank you for sending your feedback.
I have attached a sample project which demonstrates how you could change the Foreground of the text inside RadNumericUpDown with a trigger and without editing the whole template.
I hope this approach will be suitable to you.
Regards,
Yana
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items