Themes not working with RadNumericUpDown

3 posts, 0 answers
  1. Blessy Antony
    Blessy Antony avatar
    3 posts
    Member since:
    Jul 2009

    Posted 24 Jul 2009 Link to this post


    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. Dimitrina
    Dimitrina avatar
    442 posts

    Posted 28 Jul 2009 Link to this post

    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.

    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.
  3. Frits Verhoef
    Frits Verhoef avatar
    3 posts
    Member since:
    Jul 2009

    Posted 06 Aug 2009 Link to this post

    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.
Back to Top