Easy Tutorial
❮ Prop Webcontrol Radiobuttonlist Repeatlayout 2 Prop Webcontrol Image Imageurl ❯

ASP.NET HyperLink Target Property



Definition and Usage

The Target property is used to set or return the target of the HyperLink control.

Syntax

Property Description
target Where to open the target URL. _blank - Opens the target URL in a new window<br> _self - Opens the target URL in the same frame where the click occurred<br> <br> _parent - Opens the target URL in the parent frame set<br> _top - Opens the target URL in the full body of the window

Example

The following example sets the Target property on the HyperLink control:


❮ Prop Webcontrol Radiobuttonlist Repeatlayout 2 Prop Webcontrol Image Imageurl ❯