Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

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)
function get HttpMethod () : String
function set HttpMethod (value : String)

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".

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.