How to control the day forecolor when Enabled/Disabled

2 posts, 0 answers
  1. Gerardo Solis
    Gerardo Solis avatar
    1 posts
    Member since:
    Aug 2004

    Posted 02 Mar 2012 Link to this post


    When I display a RadCalendar control in a WPF application with the property IsEnabled=false, and then change the property to true. The number days remain grey and when I move the mouse over them they change it Forecolor to black.

    <telerik:RadCalendar Grid.Row="1" Grid.Column="0"  Grid.ColumnSpan="2" Grid.RowSpan="2" MinHeight="620" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
    		Columns="4" Rows="3" SelectionMode="Multiple" Name="calMain" IsTodayHighlighted="False" AreWeekNumbersVisible="False"
    		FontFamily="Segoe UI" HeaderVisibility="Hidden" ViewsHeaderVisibility="Visible"
    		IsEnabled="False" Background="White" Foreground="Black" />
    private void btnEnabled_Click(object sender, RoutedEventArgs e)
        calMain.IsEnabled = true;

    How can I avoid this behaviour?

  2. Dani
    Dani avatar
    848 posts

    Posted 06 Mar 2012 Link to this post

    Hello Gerardo,

    We were unable to reproduce this issue. Which version of the controls are you using? Do you have a RadBusyIndicator in wrapped around RadCalendar?

    Please, send us a reproducable sample, if possible.

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top