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

Themes not working with RadNumericUpDown

2 Answers 61 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Blessy Antony
Top achievements
Rank 1
Blessy Antony asked on 24 Jul 2009, 02:02 PM
Hi,

I have downloaded a trial version of Rad controls for WPF and started using it one of my projects.
Trying to use the themes provided by telerik. In some of my pages I've used RadNumericUpDown control. When I try apply Office_Blue, Office_Silver and Summer themes, this control gets disabled. Basically, the  theme gets applied but the default values of the control disappears and the control doesnt respond to any clicks. Wiith the other two themes: Vista and Office_Black the controls works fine.
Here is the code:
<telerikComboBox:RadNumericUpDown x:Name="updownStartTime" Margin="2,0,2,0" Maximum="10"                                                                               telerik:StyleManager.Theme="Office_Blue" Minimum="0" RepeatInterval="1" Width="60" Height="20"></telerikComboBox:RadNumericUpDown>

I cant understand what the problem is. I tried d same with combobox, but it's working fine with it. The themes are getting applied and the control is working fine too. Since I've just started I dont know if this problem exists with other controls and other themes too. Looks like certain combinations are not working. There no documentation available for the same too.
Also, please provide a solution to change themes dynamically.

2 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 28 Jul 2009, 10:28 AM
Hi Blessy,

Please find the attached file with a sample project. If you have any questions please write us back.

I hope this will help you.

Regards,
Dimitrina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Frits Verhoef
Top achievements
Rank 1
answered on 06 Aug 2009, 10:30 AM
Blessy, I encountered this same problem. It looks like it gets disabled, but what is happening is that in fact the text is simply hidden. By default, this control is set to HorizontalContentAlignment="Right", causing the text to be hidden if you make the control too small. Just change to HorizontalContentAlignment="Left" and it should work okay now.
Tags
General Discussions
Asked by
Blessy Antony
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Frits Verhoef
Top achievements
Rank 1
Share this question
or