Export (0) Print
Expand All

RemoteAttribute.HttpMethod Property

Gets or sets the HTTP method used for remote validation.

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

public string HttpMethod { get; set; }

Property Value

Type: System.String
The HTTP method used for remote validation. The default value is "Get".

The HTTP method can be "Get" or "Post".

Show:
© 2014 Microsoft