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

Datepicker Dates Enabled

3 Answers 72 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Jeff Wickersham
Top achievements
Rank 1
Jeff Wickersham asked on 02 Dec 2010, 02:41 AM
Looking for expert guidance on how to enable only current date + next 7 days in date picker only.
Only that range is selectable, all other dates disable.

Thanks

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 02 Dec 2010, 05:40 AM
Hello,


Set the MinDate and MaxDate property accordingly for the RadDatePicker from code.



-Shinu.
0
Jeff Wickersham
Top achievements
Rank 1
answered on 02 Dec 2010, 12:43 PM
I have one more scenario that the min/max dates will not address.
Lets say I set today as min and add 7 days to today and set that as the max enabled day
if there are days between those min and max dates that also need to be disabled what would the best tactic be for doing that?

Thanks
0
Maria Ilieva
Telerik team
answered on 03 Dec 2010, 10:05 AM
Hi Jeff,

For more information about how to disable calendar days in the calendar component of RadDatePicker, please refer to the following article:
Code Library


All the best,
Maria Ilieva
the Telerik team
Browse the vast support resources we have to jumpstart 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.
Tags
Calendar
Asked by
Jeff Wickersham
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Jeff Wickersham
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or