Form::Action Property

 

Gets or sets the URL to which the form is submitted. The default value is an empty string (""). This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public:
[BindableAttribute(true)]
property String^ Action {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The URL to which the form is submitted.

The default value, an empty string (""), causes postbacks to the page containing the current form. You can override the default value to submit the form to a different URL.

System_CAPS_noteNote

If the Action property is inherited, the Command control posts form contents to the inherited URL.

.NET Framework
Available since 1.1
Return to top
Show: