With Datepicker, How to enable MinDate,MaxDate validations for choosing from the calender popup

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

    Posted 02 Aug 2011 Link to this post

    Hi

    How to enable validation based on minDate and maxDate only for the calender popup,so that it disables the dates which are not in the valid range and not for assigning the value to the rad Datepicker control using code behind,ex: assigning the value from database to selectedDate property of the control

    Regards
    Sachi
  2. Sachidananda
    Sachidananda avatar
    12 posts
    Member since:
    Jun 2011

    Posted 03 Aug 2011 Link to this post

    Found the solution.

    Need to use datepicker1.Calender.RangeMinDate and datepicker1.Calender.RangeMaxDate properties.This will disable the dates which are not within the range mentioned.The radpicker textbox will allow any dates.
Back to Top