0 out of 1 rated this helpful - Rate this topic

AjaxOptions.HttpMethod Property

Gets or sets the HTTP request method ("Get" or "Post").

Namespace:  System.Web.Mvc.Ajax
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public string HttpMethod { get; set; }

Property Value

Type: System.String
The HTTP request method.

The default value of this property is "Post".

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Default value.
Tested with MVC 3, and default is really Post. What version did you have with default Get?
Default is NOT Post but Get
The default value is Get and NOT Post