New to Telerik UI for ASP.NET Core? Download free 30-day trial
ASP.NET Core Gantt Events
Loading Demo...
- EXAMPLE
- VIEW SOURCE
-
Change Theme
defaultDefault Theme
- Main
- Main Dark
- Nordic
- Ocean Blue
- Ocean Blue A11Y
- Purple
- Turquoise
Bootstrap Theme- Main
- Bootstrap 3
- Bootstrap 3 Dark
- Main Dark
- Nordic
- Turquoise
- Turquoise Dark
- Urban
- Vintage
Material Theme- Main
- Arctic
- Lime Dark
- Main Dark
- Nova
Classic Theme- Main
- Green
- Green Dark
- Lavender
- Lavender Dark
- Main Dark
- Metro
- Metro Dark
- Moonlight
- Opal
- Opal Dark
- Silver
- Silver Dark
- Uniform
Fluent Theme- Main
HtmlHelper
TagHelper
events.cshtml
EventsController.cs
GanttTaskService.cs
GanttDependencyService.cs
TaskViewModel.cs
DependencyViewModel.cs
Events_TagHelper.cshtml
CONSOLE LOG
Clear log
Also available for:
CLIENT-SIDE API HTML HELPER APIDescription
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.