GanttValidationSettings.AutoUpdateParentTasks Property
Enables parent-child task relationships validation.
Namespace: DevExpress.Web.ASPxGantt
Assembly: DevExpress.Web.ASPxGantt.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
|
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to AutoUpdateParentTasks |
---|---|---|
ASP.NET Web Forms Controls | ASPxGantt |
|
ASP.NET MVC Extensions | GanttSettings |
|
Remarks
Set the AutoUpdateParentTasks
property to true
to enable validation for parent&child relationships.
Web Forms:
<dx:ASPxGantt ID="Gantt" >
...
<SettingsValidation AutoUpdateParentTasks="true" />
</dx:ASPxGantt>
MVC:
@Html.DevExpress().Gantt(settings => {
settings.Name = "gantt";
settings.SettingsValidation.AutoUpdateParentTasks = true;
...
}).Bind(
GanttDataProvider.Tasks,
GanttDataProvider.Dependencies,
GanttDataProvider.Resources,
GanttDataProvider.ResourceAssignments
).GetHtml()
Concept
See Also