Easy Tutorial
❮ Prop Webcontrol Table Gridlines Prop Webcontrol Adrotator Target ❯

ASP.NET Button PostBackUrl Property



Definition and Usage

The PostBackUrl property is used to get or set the URL of the page to which data is posted when the Button control is clicked.

Syntax

Property Description
PostBackUrl String value, specifies the URL of the page to which data is posted. The default is an empty string; if set this way, the page will post back to itself.

Example

Example

The following example sets the postback URL for the Button control:


❮ Prop Webcontrol Table Gridlines Prop Webcontrol Adrotator Target ❯