New to Telerik UI for ASP.NET Core? Download free 30-day trial

ASP.NET Core Gantt Events

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Telerik REPL
HtmlHelper
TagHelper
Files:
events.cshtml
EventsController.cs
SchedulerTaskService.cs
TaskViewModel.cs
DependencyViewModel.cs
Events_TagHelper.cshtml
CONSOLE LOG Clear log

Also available for:

CLIENT-SIDE API SERVER-SIDE API

Description

The Telerik UI for ASP.NET Core Gantt supports a comprehensive set of events which enable you to provide fluent experience and smooth interaction with the component.

This demo shows how to handle the following events:

  • DataBound—Fires when the component is bound to data from its data source.
  • DataBinding—Fires before the component binds to its data source.
  • Add—Fires when a new task or a new dependency is about to be added.
  • Edit—Fires when the user starts editing a task by double-clicking on a cell.
  • Cancel—Fires when the user cancels tasks's cell editing by pressing the 'Esc' key.
  • Change—Fires when the user selects a task in the Gantt.
  • Remove—Fires when a task or a dependency is about to be removed.
  • Save—Fires when a task field is updated upon user interaction.
  • Navigate—Fires when the user changes the selected view of the Gantt.
  • MoveStart—Fires when the user starts dragging a task.
  • Move—Fires when the user is moving a task.
  • MoveEnd—Fires when the user stops moving a task.
  • ResizeStart—Fires when the user starts resizing a task.
  • Resize—Fires when the user is resizing a task.
  • ResizeEnd—Fires when the user releases the mouse after resizing a task.
  • ColumnResize—Fires when the user resizes a column.
  • ColumnHide—Fires when the user hides a column.
  • ColumnShow—Fires when the user shows a column.
  • ColumnReorder—Fires when the user changes the order of a column.

You can also use the ASP.NET Core Gantt events in both the TagHelper and HtmlHelper mode of the component depending on your preferences or background.

Additional Apps

This Gantt example is part of unique collection of hundreds of ASP.NET Core demos, with which you can see all Telerik ASP.NET Core components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for ASP.NET Core or ThemeBuilder.

Support & Learning Resources

Additional Resources