[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.Data.Linq
  [Expand]DevExpress.Web
  [Collapse]DevExpress.Web.ASPxGantt
   [Collapse]ASPxGantt Class
     ASPxGantt Members
     ASPxGantt Constructor
    [Expand]ASPxGantt Properties
    [Expand]ASPxGantt Events
    [Expand]ASPxGantt Methods
   [Expand]ASPxGanttMappings Class
   [Expand]ASPxGanttTaskDependencyMappingInfo Class
   [Expand]ASPxGanttTaskMappingInfo Class
   [Expand]ASPxGanttTaskResourceAssignmentMappingInfo Class
   [Expand]ASPxGanttTaskResourceMappingInfo Class
   [Expand]Daily Class
   [Expand]DailyRule Class
    DayOfWeekMonthlyOccurrence Enumeration
   [Expand]GanttClientSideEvents Class
   [Expand]GanttColumn Class
   [Expand]GanttColumnCollection Class
   [Expand]GanttImages Class
   [Expand]GanttPopupControlSettings Class
   [Expand]GanttPopupControlStyles Class
   [Expand]GanttSettings Class
   [Expand]GanttSettingsBehavior Class
   [Expand]GanttStyles Class
    GanttTaskProperty Enumeration
    GanttTaskTitlePosition Enumeration
   [Expand]GanttTemplates Class
   [Expand]GanttViewSettings Class
    GanttViewType Enumeration
    Month Enumeration
   [Expand]Monthly Class
   [Expand]MonthlyRule Class
   [Expand]RuleBase Class
   [Expand]Weekly Class
   [Expand]WeeklyRule Class
   [Expand]WorkTimeRange Class
   [Expand]WorkTimeRulesCollection Class
   [Expand]Yearly Class
   [Expand]YearlyRule Class
  [Expand]DevExpress.Web.ASPxGauges
  [Expand]DevExpress.Web.ASPxGauges.Base
  [Expand]DevExpress.Web.ASPxGauges.Scripts
  [Expand]DevExpress.Web.ASPxHtmlEditor
  [Expand]DevExpress.Web.ASPxHtmlEditor.Localization
  [Expand]DevExpress.Web.ASPxHtmlEditor.Scripts
  [Expand]DevExpress.Web.ASPxPivotGrid
  [Expand]DevExpress.Web.ASPxPivotGrid.Data
  [Expand]DevExpress.Web.ASPxPivotGrid.HtmlControls
  [Expand]DevExpress.Web.ASPxPivotGrid.Scripts
  [Expand]DevExpress.Web.ASPxRichEdit
  [Expand]DevExpress.Web.ASPxRichEdit.Localization
  [Expand]DevExpress.Web.ASPxRichEdit.Scripts
  [Expand]DevExpress.Web.ASPxScheduler
  [Expand]DevExpress.Web.ASPxScheduler.Commands
  [Expand]DevExpress.Web.ASPxScheduler.Commands.Dialogs
  [Expand]DevExpress.Web.ASPxScheduler.Controls
  [Expand]DevExpress.Web.ASPxScheduler.Dialogs
  [Expand]DevExpress.Web.ASPxScheduler.Drawing
  [Expand]DevExpress.Web.ASPxScheduler.Localization
  [Expand]DevExpress.Web.ASPxScheduler.Reporting
  [Expand]DevExpress.Web.ASPxScheduler.Scripts
  [Expand]DevExpress.Web.ASPxSpellChecker
  [Expand]DevExpress.Web.ASPxSpellChecker.Localization
  [Expand]DevExpress.Web.ASPxSpellChecker.Scripts
  [Expand]DevExpress.Web.ASPxSpreadsheet
  [Expand]DevExpress.Web.ASPxSpreadsheet.Localization
  [Expand]DevExpress.Web.ASPxSpreadsheet.Scripts
  [Expand]DevExpress.Web.ASPxTreeList
  [Expand]DevExpress.Web.ASPxTreeList.Internal
  [Expand]DevExpress.Web.ASPxTreeList.Localization
  [Expand]DevExpress.Web.ASPxTreeList.Scripts
  [Expand]DevExpress.Web.Captcha
  [Expand]DevExpress.Web.Data
  [Expand]DevExpress.Web.Internal
  [Expand]DevExpress.Web.Localization
  [Expand]DevExpress.Web.Mvc
  [Expand]DevExpress.Web.Mvc.BinderSettings
  [Expand]DevExpress.Web.Mvc.Controllers
  [Expand]DevExpress.Web.MVC.Scripts
  [Expand]DevExpress.Web.Mvc.UI
  [Expand]DevExpress.Web.Office
  [Expand]DevExpress.Web.Office.Internal
  [Expand]DevExpress.Web.Rendering
  [Expand]DevExpress.Web.Scripts
  [Expand]DevExpress.XtraCharts.Web
  [Expand]DevExpress.XtraCharts.Web.Designer
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

ASPxGantt Class

A Gantt control.

Namespace:DevExpress.Web.ASPxGantt
Assembly:DevExpress.Web.ASPxTreeList.v19.1.dll

Expanded Syntax

Expanded Remarks

The ASPxGantt allows you to display the task flow and dependencies between tasks.

Expanded Create a Gantt Control

Design Time

The ASPxGantt control is available on the DX.19.1: Data & Analytics toolbox tab in the Microsoft Visual Studio IDE.

Drag the control onto a form and customize control settings, or paste the control markup in the page's source code.

Run Time

Expanded Features

Data-Bound Mode

The Gantt control can operate only in bound mode. It supports standard data source types including SqlDataSource, ObjectDataSource, XmlDataSource, AccessDataSource, and SiteMapDataSource.

See demo | Learn more

View Types

The Gantt control can use the following views to display tasks: hours, days, weeks, months.

See demo

Custom Worktime

You can specify the work and non-work time intervals, as well as custom workdays and holidays.

The work time settings are stored in the WorkTimeRules collection. The following rules are available:

Each rule can contain work time ranges and recurrence settings.

See demo | Learn more

Scrollable area

You can scroll the TreeList and Gantt areas to view all the tasks.

See demo

Task title position

You can hide a task title or display it inside or near the task.

See demo

Resources

You can specify resources for tasks.

See demo

Expanded Inheritance Hierarchy

System.Object
    System.Web.UI.Control
       System.Web.UI.WebControls.WebControl
          ASPxWebControlBase
             ASPxWebControl
                ASPxDataWebControlBase
                   ASPxDataWebControl
                      ASPxTreeList
                         ASPxGantt
                            MVCxGantt

Expanded See Also

Is this topic helpful?​​​​​​​