Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
FormatPropertyForClientValidation Method

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
)

Parameters

property
Type: System.String

The property.

Return Value

Type: System.String

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

Return to top
Show:
© 2015 Microsoft