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