DateRangeAttribute.GetClientValidationRules(ModelMetadata, ControllerContext) Method
Gets client validation rules for that DateRangeAttribute.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
public virtual IEnumerable<ModelClientValidationRule> GetClientValidationRules(
ModelMetadata metadata,
ControllerContext context
)
Parameters
Name | Type | Description |
---|---|---|
metadata | ModelMetadata | The model metadata. |
context | ControllerContext | The controller context. |
Returns
Type | Description |
---|---|
IEnumerable<ModelClientValidationRule> | The client validation rules for this validator. |
See Also