Easy Tutorial
❮ Control Htmlinputbutton Prop Webcontrol Listcontrol Selectedindex ❯

ASP.NET LinkButton PostBackUrl Property



Definition and Usage

The PostBackUrl property is used to get or set the URL of the target page to which the LinkButton control will post back when clicked.

Syntax

Property Description
string A string value. Specifies the URL of the target page to post back to. The default is an empty string, which causes the page to post back to itself.

Example

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


❮ Control Htmlinputbutton Prop Webcontrol Listcontrol Selectedindex ❯