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

Example of Header Bar in ASP.NET MVC Scheduler Control

This demo shows the way of adding custom items into the Scheduler header bar. Here, an employee image is added to the header bar, clicking on which will open the popup showing that person's short profile information.

DEMO
SOURCE

In this demo, a popup has been designed separately with a person's profile info and kept in a hidden state initially. A custom item has been added to the Scheduler header bar within the ActionBegin event by checking for the request type as ToolbarItemRendering which triggers at the time of header bar items rendering on the Schedule.

Once the items are added, the click action is bound to them in the ActionComplete event by checking for the request type as ToolbarItemRendered which triggers after the items are rendered on the Schedule. The appropriate action of showing or hiding the popup on clicking the custom item has been done within it.

In case, if the header bar of Scheduler needs to be hidden, it can be done by setting false to the ShowHeaderBar property.