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

Problem with RADDatePicker mindate and maxdate properties

2 Answers 224 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Sachidananda
Top achievements
Rank 1
Sachidananda asked on 01 Aug 2011, 05:25 PM
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 Answers, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 05 Aug 2011, 10:08 AM
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.

0
Sachidananda
Top achievements
Rank 1
answered on 23 Aug 2011, 06:12 PM
I used the RADDatePicker.Calender.mindate to disable the previous dates.
Tags
Calendar
Asked by
Sachidananda
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Sachidananda
Top achievements
Rank 1
Share this question
or