FormatPropertyForClientValidation Method
Collapse the table of content
Expand the table of content

RemoteAttribute.FormatPropertyForClientValidation Method (String)


Formats the property for client validation by prepending an asterisk (*) and a dot.

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

public static string FormatPropertyForClientValidation(
	string property


Type: System.String

The property.

Return Value

Type: System.String

The string "*." Is prepended to the property.

Return to top
© 2016 Microsoft