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

How to set MinDate and MaxDate explicitly?

1 Answer 113 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.
vijay
Top achievements
Rank 1
vijay asked on 27 May 2015, 11:13 AM

Hello Telerik,

I want to set calendar MinDate and MaxDate explicitly.

Like - calendar start date is = 10/08/2014 & calendar end date is 31/12/2015

how can i apply this. please help me out.

Thanks

 

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 01 Jun 2015, 11:30 AM
Hello Vijay,

Thank you for writing.

Here's the article that shows how to use the min date and max date properties. The example includes the today date, but you can easily use the constructors of the GregorianCalendar to create a date with your requirements. For example:

Calendar calendar = new GregorianCalendar(2014, Calendar.AUGUST, 10);

I hope this information helps.

Regards,
Todor
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
vijay
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or