-1

Error appear when click Datepicker box. Error as below: enter image description here

XAML and CS Code: enter image description here

enter image description here

Device DateTime Value is: 21-May-11

enter image description here

Wan Aideed
  • 41
  • 1
  • 6

1 Answers1

0

Try to set ClipValueToMinMax to true to prevent the datetime to be out of the range specified by Minimum and Maximum.

dateEnd.ClipValueToMinMax = true;
user2250152
  • 14,658
  • 4
  • 33
  • 57
  • I saw this answer before I post this question. Still I got error even I add ClipValueToMinMax. – Wan Aideed May 26 '21 at 14:48
  • Before I post this question I find your answer in this [link](https://stackoverflow.com/questions/46070932/how-to-fix-xceed-datetimepicker-argumentoutofrangeexception-error) but still I got error even I set ClipValueToMinMax. That why I not vote your answer. – Wan Aideed May 26 '21 at 14:59