ASP.NET BulletedList TargetProperties
BulletedList Control
Definition and Usage
The Target property is used to get or set where to open the target URL.
Syntax
<asp:BulletedList Target="target" runat="server">
Some Content
</asp:BulletedList>
Some Content
</asp:BulletedList>
| Property | Description |
|---|---|
| target | Specifies where to open the target URL. Possible values:
|
Tips and Notes
Note:This property can only be used when the DisplayMode property is set to "HyperLink".
Example
The following example sets the Target of the BulletedList control:
<form runat="server">
<asp:Bulletedlist Target="HyperLink"
id="bl1" runat="server">
<asp:ListItem Text="EXAMPLE" Target="_blank"
Value="http://www.example.com/" />
</asp:Bulletedlist>
</form>
<asp:Bulletedlist Target="HyperLink"
id="bl1" runat="server">
<asp:ListItem Text="EXAMPLE" Target="_blank"
Value="http://www.example.com/" />
</asp:Bulletedlist>
</form>
Show example »
BulletedList Control Other Extensions