Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

JsonResult.JsonRequestBehavior Property

Gets or sets a value that indicates whether HTTP GET requests from the client are allowed.

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

Property Value

Type: System.Web.Mvc.JsonRequestBehavior
A value that indicates whether HTTP GET requests from the client are allowed.

The default value is DenyGet.

Show:
© 2014 Microsoft. All rights reserved.