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

RadDateTimePicker ReadOnly Property

1 Answer 207 Views
Calendar, DateTimePicker, TimePicker and Clock
This is a migrated thread and some comments may be shown as answers.
michael schroeder
Top achievements
Rank 1
michael schroeder asked on 15 Apr 2010, 08:32 AM
It would appear that the RadDateTimePicker does not have a ReadOnly property.  I am aware that I can disable the control.  A control that is disabled behaves differently than a control that is set to read only.  The controls appearance is also different.

Is there a way to set the RadDateTimePicker to read only?  if not then is there a work around to disable the control and make it appear as if it were read only?  If not, then may I suggest that is a future version that you add read only functionality.

I find this interesting that the DateTimePicker that ships with VS also lacks a ReadOnly property.

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 21 Apr 2010, 03:23 PM
Hi michael schroeder,

Thank you for the question.

Generally, we tend to follow the API and behavior of the standard controls. This allows us our customers to upgrade their applications to RadControls more easily. As in the standard DateTimePicker, we do not have a ReadOnly property. However, our Telerik Presentation Framework allows you to get the normal behavior of RadDateTimePicker even when it is disabled. To do this, you should set the following properties:
this.radDateTimePicker1.Enabled = false;
this.radDateTimePicker1.RootElement.UseDefaultDisabledPaint = false;

If you have additional questions, feel free to contact us.

Best wishes,
Nikolay
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Calendar, DateTimePicker, TimePicker and Clock
Asked by
michael schroeder
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or