DateTime Picker and weekends

1 Answer 66 Views
DatePicker
Monther
Top achievements
Rank 1
Monther asked on 29 Jan 2022, 07:33 AM

Hi,

 

Can i disable weekends ... or maybe not show a day of a week in DateTime Picker.

For example i don't want my DateTime Picker to show FRI and SAT days

 

is that possible

Thank you

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Konstantin Dikov
Telerik team
answered on 31 Jan 2022, 05:43 AM

Hi Monther,

Currently the DateTimePicker does not provide built-in option for disabling weekends or any specific dates, but you can use combination of custom Calendar for the picker and customize the calendar cells for the weekends:

And for the Calendar, here is an example demonstrating how you can customize cells and disable them:

Give this a try and let us know if further questions on this matter arise.

 

Regards,
Konstantin Dikov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Monther
Top achievements
Rank 1
commented on 01 Feb 2022, 12:32 PM

Perfect .... that's exactly what I'm looking for.

 

Thank You

Tags
DatePicker
Asked by
Monther
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or