IButtonControl.PostBackUrl IButtonControl.PostBackUrl IButtonControl.PostBackUrl IButtonControl.PostBackUrl Property

Definition

Gets or sets the URL of the Web page to post to from the current page when the button control is clicked.

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

Property Value

The URL of the Web page to post to from the current page when the button control is clicked.

Remarks

You can use the PostBackUrl property to perform a cross-page post. If the PostBackUrl property is set to the page that the button is currently on, a normal postback event cycle occurs.

A control that implements the IButtonControl interface must implement the PostBackUrl property to indicate the URL of the Web page to post to from the current page when the button control is clicked.

Applies to