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

Disable some dates

1 Answer 75 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Filleau
Top achievements
Rank 1
Filleau asked on 01 Oct 2008, 12:24 PM
Hi,

I'm using a Raddatepicker.

I would like to prevent users to click on a lot of dates...

My idea would be to
1/ Disable all the date
2/ Enable somes date wich can be selected

Is it possible ? How ?

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Maria Ilieva
Telerik team
answered on 01 Oct 2008, 01:32 PM
Hi Filleau,

Unfortunately the scenario you described is not possible. You could not disable all Calendar days by default and after that enable those you need. However a possible implementation is the opposite scenario- adding the days you need to disable in a SpecialDays collection and after that disable those particular days.
Application which shows similar scenario is provided in this code library.

Greetings,
Maria Ilieva
the Telerik team

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