Problem with RADDatePicker mindate and maxdate properties

3 posts, 0 answers
  1. Sachidananda
    Sachidananda avatar
    12 posts
    Member since:
    Jun 2011

    Posted 01 Aug 2011 Link to this post

    Hi,

    I am using RAD DatePicker control from a licenced version of telerik cotnrols.
    I had to allow the user to choose dates only after 14 days.hence I ahd set
    txtdtcontrol.Mindate=Today.AddDays(14)

    This should have applied only for choosing the dates.But it is considering this case for getting the date from the database and assigning it to the field also and this is the issue.

    Please help solve this problem.How shall I set the calender popup to disable dates lesser than 14 days from now but does not affect for assigning the values to the selectedDate property of the control.

    Is it possible to disable dates just on the popup and not to the textbox value as such.
  2. Radoslav
    Admin
    Radoslav avatar
    1566 posts

    Posted 05 Aug 2011 Link to this post

    Hi Sachidananda,

    Unfortunately the RadDatePicker does not support the desired functionality out of the box. However you could try disabling some of the dates instead of setting Min/MaxDate of the RadDatePicker.
    For more information about how to disable calendar days in the calendar component of RadDatePicker, please refer to the following article:
    Code Library

    Please give it try and let me know if you experience any problems.

    All the best,
    Radoslav
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. Sachidananda
    Sachidananda avatar
    12 posts
    Member since:
    Jun 2011

    Posted 23 Aug 2011 Link to this post

    I used the RADDatePicker.Calender.mindate to disable the previous dates.
Back to Top