How to set MinDate and MaxDate explicitly?

2 posts, 0 answers
  1. vijay
    vijay avatar
    23 posts
    Member since:
    May 2015

    Posted 27 May 2015 Link to this post

    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.



  2. Todor
    Todor avatar
    772 posts

    Posted 01 Jun 2015 Link to this post

    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.

    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
  3. DevCraft R3 2016 release webinar banner
Back to Top