HtmlForm.Action Property

Definition

Gets or sets the action attribute of the HTML form.

public:
 property System::String ^ Action { System::String ^ get(); void set(System::String ^ value); };
public string Action { get; set; }
member this.Action : string with get, set
Public Property Action As String

Property Value

The action attribute of the HTML form. The default value is Empty.

Remarks

You use the Action property when you rewrite the URL of the original request but you want to retain the original URL for the action attribute of the HTML form. Set the Action property to the value of the URL that you want to retain.

Applies to

See also