IButtonControl.PostBackUrl Propriedade

Definição

Obtém ou define a URL da página da Web que será usada para postagem da página atual quando o controle de botão receber um clique do mouse.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

Valor da propriedade

String

A URL da página da Web que será usada para postagem da página atual quando o controle de botão receber um clique.The URL of the Web page to post to from the current page when the button control is clicked.

Comentários

Você pode usar a PostBackUrl propriedade para executar uma postagem entre páginas.You can use the PostBackUrl property to perform a cross-page post. Se a PostBackUrl propriedade for definida como a página em que o botão está no momento, ocorrerá um ciclo de evento de postback normal.If the PostBackUrl property is set to the page that the button is currently on, a normal postback event cycle occurs.

Um controle que implementa a IButtonControl interface deve implementar a PostBackUrl propriedade para indicar a URL da página da Web a ser postada da página atual quando o controle de botão é clicado.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.

Aplica-se a