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

ASP.NET MVC Gantt Events

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
events.cshtml
EventsController.cs
CONSOLE LOG Clear log

Also available for:

CLIENT-SIDE API SERVER-SIDE API

Description

The Telerik UI for ASP.NET MVC 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.

Additional Apps

This Gantt example is part of a unique collection of hundreds of ASP.NET MVC demos, with which you can see all Telerik ASP.NET MVC 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 the ThemeBuilder.

Support & Learning Resources

Additional Resources