All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

GanttValidationSettings.AutoUpdateParentTasks Property

Enables parent-child task relationships validation.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v21.1.dll

Declaration

[DefaultValue(false)]
public bool AutoUpdateParentTasks { get; set; }

Property Value

Type Default Description
Boolean

false

true, to validate parent-child task relationships; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AutoUpdateParentTasks
ASP.NET MVC Extensions GanttSettings
.SettingsValidation.AutoUpdateParentTasks
MVCxGantt
.SettingsValidation.AutoUpdateParentTasks
ASP.NET Web Forms Controls ASPxGantt
.SettingsValidation.AutoUpdateParentTasks

Remarks

Set the AutoUpdateParentTasks property to true to enable validation for parent&child relationships.

Gantt - AutoUpdateParentTasks Property

Web Forms:

Run Demo: ASPxGantt - Validation

<dx:ASPxGantt ID="Gantt" >
    ...
    <SettingsValidation AutoUpdateParentTasks="true" />
</dx:ASPxGantt>

MVC:

Run Demo: MVCxGantt - Validation

@Html.DevExpress().Gantt(settings => {
    settings.Name = "gantt";
    settings.SettingsValidation.AutoUpdateParentTasks = true;
    ...
}).Bind(
    GanttDataProvider.Tasks, 
    GanttDataProvider.Dependencies, 
    GanttDataProvider.Resources, 
    GanttDataProvider.ResourceAssignments
).GetHtml()

Concept

See Also