GanttValidationBuilder.ValidateDependencies(JS) Method
Enables task dependencies validation. Mirrors the client-side validateDependencies option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public GanttValidationBuilder ValidateDependencies(
JS value
)
Parameters
Name | Type | Description |
---|---|---|
value | JS | A JavaScript expression that specifies the option value. |
Returns
Type | Description |
---|---|
GanttValidationBuilder | A reference to this instance after the method is called. |
Remarks
<script>
var myValue1 = ...;
var myValue2 = ...;
</script>
@(Html.DevExtreme().Gantt()
.Validation(validation => validation
.ValidateDependencies(new JS("myValue1"))
.AutoUpdateParentTasks(new JS("myValue2"))
// ...
)
)
See Also