• Material 3
  • Fluent
  • Bootstrap v5
  • Tailwind CSS
  • High Contrast
Preferences
Theme Selection
Theme Modes
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency

Example of Holidays in ASP.NET MVC Gantt Chart Control

This sample visualizes how to define the holidays in between the project timeline.

DEMO
SOURCE

In this example, Holidays are displayed with vertical bar with the desired text using the Label property. You can also mention the continuous holidays by specifying the From and To range. For single holiday, you can define from value alone. Holidays are defined as an array of object collection, so that we can display more than one holiday in the project.

You can even assign the CssClass to each holiday to change the default color of label and background.

Transform your ASP.NET MVC web apps today with Syncfusion ASP.NET MVC components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE