This is a migrated thread and some comments may be shown as answers.

disable style problems

2 Answers 23 Views
TimePicker
This is a migrated thread and some comments may be shown as answers.
Anton Khramov
Top achievements
Rank 1
Anton Khramov asked on 14 Jan 2010, 12:52 PM
Disabled and enabled style doesn't applyed on IsEnabled property change.
To fix it i've added source code of RadTimePicker to my solution and have added following code to RadTimePicker constructor
this.IsEnabledChanged += (sender, e) => this.GoToState(true); 
Is more simple way fix it exists?

2 Answers, 1 is accepted

Sort by
0
Victor Manuel Gonzalez Tellez
Top achievements
Rank 1
answered on 17 Jan 2010, 03:01 AM
Hi! I'm facing a similar issue. In my requirements I need to be enabling and disabling my timepicker, depending in one property of the object. Although it works, the change isn't reflected visually, for example, if the initial state of the component is disabled, when I change the property, it remains in a disabled style, until a do a click in the component, and in case the first state is enabled, when I change to enabled, I cannot open it even with click, but visual style remains the same. Is there's a solution for this??
0
Kaloyan
Telerik team
answered on 18 Jan 2010, 12:45 PM
Hi Victor Manuel Gonzalez Tellez,

The problem can be found in the old version of our control. Downloading the SP2 Q3 2009 release will resolve the issue.

Best wishes,
Kaloyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
TimePicker
Asked by
Anton Khramov
Top achievements
Rank 1
Answers by
Victor Manuel Gonzalez Tellez
Top achievements
Rank 1
Kaloyan
Telerik team
Share this question
or