Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET LinkButton PostBackUrl Property

ASP.NET LinkButton PostBackUrl Property


LinkButton Control LinkButton control


Definition and Usage

The PostBackUrl property is used to get or set the URL of the target page to which data is posted back when the LinkButton control is 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 of a LinkButton control:

  Name:

  

  PostBackUrl="demo_postbackurl.htmlx" runat="Server" />

Demo Example »


LinkButton Control LinkButton control