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?
Thanks,
Sean
EDIT:
I got the functionality achieved with this:
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?
Thanks,
Sean
EDIT:
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"; }else { RadDateTimePicker1.DatePopupButton.CssClass = "rcCalPopup rcDisabled"; RadDateTimePicker1.TimePopupButton.CssClass = "rcTimePopup rcDisabled"; RadDateTimePicker2.DatePopupButton.CssClass = "rcCalPopup rcDisabled"; RadDateTimePicker2.TimePopupButton.CssClass = "rcTimePopup rcDisabled";}