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

Calendar Max Date Bug?

2 Answers 33 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kyle
Top achievements
Rank 1
Kyle asked on 31 May 2016, 04:50 PM

Hi

 

I'm having an issue setting the max date on the calendar.  The calendar currently shows May 2016 and has todays date selected (May 31st).  The min date set on the calendar is the first day of the previous month (April 1st).  The max date set on the calendar is the last day of the next month (June 30th).  I have buttons on the screen that change the months on the calendar.  These buttons call NavigateBack and NavigateForward respectively.  NavigateBack works fine however Navigate forward will not take me to June.

 

If I change the maxDate to July 1st, 2016 it will let me move to view June.  Why can I not select the last day of June to be the maximum date?  I don't want the user to be able to select July 1st, which they are able to do in the workaround described above.

2 Answers, 1 is accepted

Sort by
0
Kyle
Top achievements
Rank 1
answered on 31 May 2016, 05:51 PM
A follow up question.  I'm now trying some work arounds where i'm setting the max date each time the user changes months so that I can allow it to transition while still only allow them to select a max of the 30th.  However, i'm using date range selection and each time i set a new max date the calendar wipes out my date range graphics...
0
Adrian
Telerik team
answered on 03 Jun 2016, 10:01 AM
Hello, Kyle,

Thank you for contacting us.
I tried to reproduce the described behavior however in my project the calendar behaves as expected. Could you please send me sample project where this issue occurs so I can investigate it further? Thank you in advance for the cooperation. I am looking forward to your reply.

Regards,
Adrian
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Calendar
Asked by
Kyle
Top achievements
Rank 1
Answers by
Kyle
Top achievements
Rank 1
Adrian
Telerik team
Share this question
or