Completed
Last Updated: 13 Jan 2016 14:57 by ADMIN
ADMIN
Telerik Admin
Created on: 30 Jul 2010 10:14
Category: DateTimePicker
Type: Feature Request
23
Forbid typing a date earlier or later than a date if SelectableDateStart/SelectableDateEnd are set
Forbid typing a date earlier or later than a date if SelectableDateStart/SelectableDateEnd are set. Can be achieved by custom parsing.

Available in the 2016 Q1 Release: Implemented IsInputRestrictedToSelectableDates property in order to allow only selecting dates by input in the selectable range (when SelectableDateStart/SelectableDateEnd/BlackoutDates are used).
6 comments
ADMIN
Kalin
Posted on: 20 Aug 2015 08:54
Hi, 

This functionality can be achieved by using custom parsing as explained in this article:
http://docs.telerik.com/devtools/wpf/controls/raddatetimepicker/how-to/implement-custom-parsing

There is SDK Example demonstrating the exact implementation, you can find it on the following link:
https://github.com/telerik/xaml-sdk/tree/master/DateTimePicker/RestrictTheEnteredDate

Regards,
Kalin
Lisitsa
Posted on: 13 Aug 2015 08:12
Why this is still not implemented? 23 votes already...
Also, I think that is should be by default. What's the point of restricting dates in calendar, but allowing to enter them manually?
Inger Marie
Posted on: 15 Mar 2011 10:29
I work on WPF, and would very much like this resolved there as well.
Schokoolero50
Posted on: 14 Mar 2011 05:48
It's nice that the minimum and maximum values can be limited in the calender, but in many cases the calendar isn't used at all, but the date is directly entered into the textbox, as it is much faster for dates like birthdays, avoiding all those nicely chos
Paul Reynolds
Posted on: 05 Oct 2010 01:34
I'd suggest simply having Minimum and Maximum as properties on the RadDateTimePicker,
and have the control propogate these settings to the various component controls that make
up the overall control (i.e. textbox, calendar, etc.).
Tyree
Posted on: 06 Aug 2010 09:11
Make it a property like CanUserTypeDatesOutsideSelectableDateRange :) or EnforceSelectableDates or LimitEntryToSelectableDates or anything.

Quick 30 minute change and test. Thank you.