FieldValidationMetadata.ValidationMessageId Property

Gets or sets the validator message ID.

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

function get ValidationMessageId () : String 
function set ValidationMessageId (value : String)

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.

Show: