Can i disable previous dates on Html.Kendo().DatePicker()

2 posts, 0 answers
  1. Jeena
    Jeena  avatar
    1 posts
    Member since:
    Jan 2013

    Posted 07 Mar 2013 Link to this post

    I am using Html.Kendo().DatePicker()
    I have a requirement to disable the previous dates (i.e dates > today)

    Is it posisble, if so how? Also what if the model contains a value > today

    Is it possible to achieve both with Kendo datePicker
  2. Dimiter Madjarov
    Dimiter Madjarov avatar
    2123 posts

    Posted 11 Mar 2013 Link to this post

    Hi Jeena,

    You could use the Min method to specify the minimal date which can be selected in the picker. In the current scenario you should specify:


    Regarding your second question, what do you mean by "if the model contains a value > today"?
    Dimiter Madjarov
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. UI for ASP.NET AJAX banner
Back to Top