Icons not looking 'enabled' when RadDateTimePicker becomes enabled

2 posts, 1 answers
  1. Sean
    Sean avatar
    200 posts
    Member since:
    Nov 2010

    Posted 22 Mar 2011 Link to this post

    Hi all,

    I have server-side and client-side code which can control the enabled state of a RadDateTimePicker. It loads as disabled.

    When I execute the server-side code "RadDateTimePicker1.Enabled = true" the input field becomes enabled, but the icons continue to have the look of disabled icons. How can I change these icons to enabled? 




    I got the functionality achieved with this:

    if( (sender as CheckBox).Checked )
        RadDateTimePicker1.DatePopupButton.CssClass = "rcCalPopup";
        RadDateTimePicker1.TimePopupButton.CssClass = "rcTimePopup";
        RadDateTimePicker2.DatePopupButton.CssClass = "rcCalPopup";
        RadDateTimePicker2.TimePopupButton.CssClass = "rcTimePopup";
        RadDateTimePicker1.DatePopupButton.CssClass = "rcCalPopup rcDisabled";
        RadDateTimePicker1.TimePopupButton.CssClass = "rcTimePopup rcDisabled";
        RadDateTimePicker2.DatePopupButton.CssClass = "rcCalPopup rcDisabled";
        RadDateTimePicker2.TimePopupButton.CssClass = "rcTimePopup rcDisabled";
  2. Answer
    Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 25 Mar 2011 Link to this post

    Hello Sean,

    I tried to replicate the described behavior on my side but to no avail.

    Please find attached a simple runnable application which works correctly. Test it locally and let me know what the difference in your case is.

    Kind regards,
    Maria Ilieva
    the Telerik team
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top