HtmlForm.Method Property
.NET Framework 3.0
Gets or sets a value that indicates how a browser posts form data to the server for processing.
Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
/** @property */ public String get_Method () /** @property */ public void set_Method (String value)
public function get Method () : String public function set Method (value : String)
Not applicable.
Property Value
A string that indicates how a browser posts form data to the server. The default value is POST.Use this property to specify how the browser sends form data to the server for processing. The two common methods supported by all browsers are GET and POST.
Caution: |
|---|
| You can override the default value of this property and use the GET method instead of POST. However, because GET requests are limited in how much data they can include, using the GET method can, in some cases, cause the postback and state management capabilities provided by the ASP.NET page framework to fail. |
Community Additions
ADD
Show:
Caution: