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

Disable dates in date picker

2 Answers 98 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
kollam2003
Top achievements
Rank 1
kollam2003 asked on 13 Jan 2009, 11:49 AM
I have two dates.
I assign these dates as the minimum & maximum dates of the date picker.
I want to disable all other dates less than the min date & greater than the max dates.
Plz help

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 13 Jan 2009, 12:33 PM
Hi,

Try setting the the properties MinDate and MaxDate of RadDatePicker. When setting these properties the dates less than MinDate and greater than MaxDate will be disabled.

ASPX:
<telerik:RadDatePicker ID="RadDatePicker1" Runat="server" AutoPostBack="True" MaxDate="2009-01-20" MinDate="2009-01-10"
</telerik:RadDatePicker> 

Thanks,
Shinu.
0
Accepted
Daniel
Telerik team
answered on 13 Jan 2009, 01:15 PM
Hello Deepak,

More information (including screenshots) about the depicted functionality is available in our documentation about RadCalendar:
Getting Started

Regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Calendar
Asked by
kollam2003
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Daniel
Telerik team
Share this question
or