Easy Tutorial
❮ Control Htmlinputfile Prop Webcontrol Calendar Daystyle ❯

ASP.NET ImageButton PostBackUrl Property



Definition and Usage

The PostBackUrl property is used to get or set the URL of the target page to which the ImageButton control should 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 ImageButton control:


❮ Control Htmlinputfile Prop Webcontrol Calendar Daystyle ❯