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

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

1 Answer 90 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Sachidananda
Top achievements
Rank 1
Sachidananda asked on 02 Aug 2011, 08:54 AM
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

1 Answer, 1 is accepted

Sort by
0
Sachidananda
Top achievements
Rank 1
answered on 03 Aug 2011, 07:04 AM
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.
Tags
Calendar
Asked by
Sachidananda
Top achievements
Rank 1
Answers by
Sachidananda
Top achievements
Rank 1
Share this question
or