Disabled statetheme is not consistent

2 posts, 0 answers
  1. Patrick
    Patrick avatar
    382 posts
    Member since:
    Aug 2012

    Posted 01 Mar 2013 Link to this post


    create a new C# Silverlight application, reference Telerik.Windows.Controls and replace:

    MainPage.xaml with:
      <StackPanel Margin="5"
        <tk:RadButton Content="Click to change enable state"
                      Click="RadButton_Click_1" />
        <tk:RadButton Name="Button"
                      Content="Button to check"
                      Margin="10 0 0 0" />

    and MainPage.xaml.cs with:
    using System.Windows;
    using System.Windows.Controls;
    namespace SilverlightApplication1
      public partial class MainPage : UserControl
        public MainPage()
        private void RadButton_Click_1(object sender, RoutedEventArgs e)
          Button.IsEnabled = !Button.IsEnabled;

    Now run the application.
    You can see two buttons at the top of the browser, with the right one being disabled.
    Look at how the disabled button look, with 3D shades.
    Press the left button to enable the second one, then once again to disabled it again.
    The disabled button has now a flat look!
    I've tried with the default theme and the Windows7 theme with the same result.

  2. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1237 posts

    Posted 06 Mar 2013 Link to this post

    Hello Patrick,

    Thank you for bringing this issue to our attention. You are right that this is not the expected behavior of the RadButton control. I have logged an item in our PITS and you can follow it and vote for it here. Also, as a  gratitude for your feedback I updated your Telerik account.

    Kind regards,
    Pavel R. Pavlov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top