FieldValidationMetadata.ValidationMessageId Property

 

Gets or sets the validator message ID.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public string ValidationMessageId { get; set; }

Property Value

Type: System.String

The validator message ID.

The MVC framework uses this property when client-side validation is enabled. You typically do not have to use this property directly.

Return to top
Show: