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

[Solved] Ability to exclude specific dates from date range

3 Answers 29 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Samir
Top achievements
Rank 1
Samir asked on 19 Jul 2010, 02:07 PM
Does the DatePicker control have an option to exclude dates from within a range? I am attempting to configure a DatePicker for selecting a date range. However, the calendar must exclude any holidays, that may fall within the range, from being selected.

Thank you,
Samir Wong

3 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 19 Jul 2010, 03:06 PM
Hello Samir,

Unfortunately DatePicker UI component does not support such functionality. You can try to wire click event of the table cells and prevent clicking if the selected value is not allowed.

Best wishes,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Samir
Top achievements
Rank 1
answered on 19 Jul 2010, 03:41 PM
Georgi:

Thank you for the quick reply. Do you have any code that you can share to create the click event? I am hoping this option can disable the event and remove the holiday date from view.

-Samir
0
Georgi Krustev
Telerik team
answered on 20 Jul 2010, 07:56 AM
Hello Samir,

After further investigation, it will be very hard to achieve your goal without further change of the existing code. I will suggest you vote for this feature in PITS. Thus depending on the public interest we will decide when to implement it.

Greetings,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Date/Time Pickers
Asked by
Samir
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Samir
Top achievements
Rank 1
Share this question
or