Gets or sets the URI of the frame or window to render the results of a Form POST request. Developers can use this property to redirect these results to another browser window or frame.
[Visual Basic] Public Property Target As String [C#] public string Target {get; set;} [C++] public: __property String* get_Target(); public: __property void set_Target(String*); [JScript] public function get Target() : String; public function set Target(String);
The URI of the frame or window.
Redirecting Form POST results is an advanced task. Using this property to do so is not recommended for simple postback requirements.
HtmlForm Class | HtmlForm Members | System.Web.UI.HtmlControls Namespace