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

IsInputRestrictedToSelectableDates not working?

2 Answers 66 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Rob Ainscough
Top achievements
Rank 1
Rob Ainscough asked on 29 Jul 2016, 08:25 PM

I seem unable to get this property to do what it suggests, prevent the user from selecting dates outside the range I specify with SelectableDateStart and SelectableDateEnd.

Am I missing something obvious?

I browsed thru some example projects here online but they all implement their own restriction code which seems very odd to me as that defeats the intent and purpose of the properties?  If the SelectableDateStart and SelectableDateEnd isn't actually being "enforced" what's the point of having these properties?

I believe the purpose of purchasing telerik controls is to avoid having to code this myself (that's why most developers purchase 3rd party products so we don't have to re-invent the wheel everytime), otherwise why purchase Telerik?

Confused.

Rob.

2 Answers, 1 is accepted

Sort by
0
Rob Ainscough
Top achievements
Rank 1
answered on 29 Jul 2016, 09:08 PM

[SOLVED]

The Binding data type MUST be Nullable(Of Date), it does not support type coercion.

 

Cheers, Rob.

0
Nasko
Telerik team
answered on 01 Aug 2016, 06:21 AM
Hi Rob,

We glad to hear you were able to resolve your issue and thank you for sharing it with the community.

If you have any additional questions or concerns regarding Telerik controls, please let us know.

Regards,
Nasko
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
DatePicker
Asked by
Rob Ainscough
Top achievements
Rank 1
Answers by
Rob Ainscough
Top achievements
Rank 1
Nasko
Telerik team
Share this question
or