Gets or sets the Action attribute of the form. This is the URL of the page that is to process form data on postback.
[Visual Basic] Public Property Action As String [C#] public string Action {get; set;} [C++] public: __property String* get_Action(); public: __property void set_Action(String*); [JScript] public function get Action() : String; public function set Action(String);
The Action attribute of the form. The default value is the current page.
Advanced Web developers can override the default value to post to another location.
CAUTION The postback routing built into the Web Forms page framework are bypassed if a developer chooses to overried this value.
HtmlForm Class | HtmlForm Members | System.Web.UI.HtmlControls Namespace