Form.Action Property

Gets or sets the URL to which the form is submitted. The default value is an empty string ("").

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

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

/** @property */
public void set_Action (String value)

public function get Action () : String

public function set Action (value : String)

Not applicable.

Property Value

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.

NoteNote:

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1

Community Additions

ADD
Show: