• Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Theme Selection
Mode Selection
*Translated by Google Translator.

Example of Different Work Days in ASP.NET MVC Scheduler Control

This demo showcases the different available dates of doctors and their appointments on those days.


In this demo, different working days are assigned by passing the WorkDays collection for each doctor to show their available dates. On each of their available dates, their daily available time range is also depicted by mentioning the StartHour and EndHour for each doctor. These values needs to be provided along with the resource DataSource by mapping the appropriate fields namely WorkDaysField, StartHourField and EndHourField.

Here, we have customized the background cell color of the available times of each doctor using RenderCell event to denote that, only those timeslots are available for booking appointments. All other cells are simply read-only and no appointments can be booked on it. Also, if the applicable timeslot already contains an appointment, then no more appointments can be added to that cell which has been prevented by using the isSlotAvailable function within the ActionBegin event checking for EventCreate and eventChange request type. The resource header is customized by using the ResourceHeaderTemplate option.