• Material
  • Fabric
  • Bootstrap
  • Bootstrap v4
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency

Example of Holidays in ASP.NET MVC Gantt 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.