RadDateTimePicker ReadOnly Property

2 posts, 0 answers
  1. michael schroeder
    michael schroeder avatar
    1 posts
    Member since:
    Apr 2010

    Posted 15 Apr 2010 Link to this post

    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.
  2. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 21 Apr 2010 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top