Skip to main content
A newer version of this page is available. .
JS

ValidationGroup Class

Represents a validation group.

Namespace: DevExtreme.AspNet.Mvc

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public class ValidationGroup :
    IDisposable

The following members return ValidationGroup objects:

Remarks

Do not instantiate this class explicitly. A new ValidationGroup class instance is created when you call the ValidationGroup helper method:

@using(Html.DevExtreme().ValidationGroup()) {
    @(Html.DevExtreme().TextBox().Name("Name"))
    @(Html.DevExtreme().TextBox().Name("BirthDate"))
}

Refer to Validate Multiple Groups for more information.

Inheritance

Object
ValidationGroup
See Also