Skip to main content
JS

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ValidationGroup Class

Represents a validation group.

Namespace: DevExtreme.AspNet.Mvc

Assembly: DevExtreme.AspNet.Core.dll

#Declaration

C#
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