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

Disabling the dates between range dynamically from code behind

1 Answer 348 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Ranganath
Top achievements
Rank 1
Ranganath asked on 26 Jun 2009, 07:08 AM

Hi,

I am using RadDatePicker and I want to disable the dates in between range( Ex: - 12.03.09-12.06.09 )from code behind.

I will get dates dynamically, acceding to the dates I have to disable…

Please guide me….

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 26 Jun 2009, 07:26 AM
Hi Ranganath,

Try setting the properties MinDate and MaxDate of RadDatePicker. When setting these properties the dates less than MinDate and greater than MaxDate will be disabled.
More information (including screenshots) about this functionality is available in our documentation about RadCalendar:
Getting Started

Another approach is available in the following code library which demonstrates how you can disable calendar days in the calendar component of RadDatePicker control:
Disabling calendar days

All the best,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Calendar
Asked by
Ranganath
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or