How to restrict the entered date

1 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1591 posts
    Member since:
    Oct 2004

    Posted 02 May 2012 Link to this post


    RadControls version Q1 2012
    .NET version 4.0
    Visual Studio version 2010
    programming language C#
    browser support

    all browsers supported by RadControls

    Setting SelectableDateStart/End allows you to restrict the selection in the Calendar placed in the dropdown of the DateTimePicker.
    The attached project demonstrates how you can restrict the date that a user can type in the input field. In order to achieve this, you should implement the ParseDateTimeValue event and change the result if the entered date is outside of the SelectableDateStart/End.
Back to Top