Form::Method Property
.NET Framework (current version)
Gets or sets the method used to submit the form. The default value is post. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
public: [BindableAttribute(true)] property FormMethod Method { FormMethod get(); void set(FormMethod value); }
A get request is limited in the amount of data it can post. Some types of postbacks might fail when using a get request. The advantage of a get request is that all the parameters are specified as part of the URL, and the URL can be cached or saved. The elements of a post request are contained within the HttpRequest::Form.
.NET Framework
Available since 1.1
Available since 1.1
FormMethod
Form Class
System.Web.UI.MobileControls Namespace
Introduction to the Form Control
Show: