ערוך

שתף באמצעות


Form.Action Property

Definition

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 Mobile Apps & Sites with ASP.NET.

public:
 property System::String ^ Action { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
public string Action { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Action : string with get, set
Public Property Action As String

Property Value

The URL to which the form is submitted.

Attributes

Remarks

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.

Note

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

Applies to

See also