ASP.NET BulletedList Target property
Definition and Usage
Target property is used to get or set where to open the target URL.
grammar
<asp:BulletedList Target="target" runat="server">
Some Content
</asp:BulletedList>
Some Content
</asp:BulletedList>
属性 | 描述 |
---|---|
target | 规定在何处打开目标 URL。 可能的值:
|
Tips and Notes
Note: When DisplayMode property is set to "HyperLink" when, in order to use this property.
Examples
The following example sets the Target BulletedList control:
<form runat="server">
<asp:Bulletedlist Target="HyperLink"
id="bl1" runat="server">
??<asp:ListItem Text="W3CSchool" Target="_blank"
??Value="http://www.w3cschool.cc/" />
</asp:Bulletedlist>
</form>
<asp:Bulletedlist Target="HyperLink"
id="bl1" runat="server">
??<asp:ListItem Text="W3CSchool" Target="_blank"
??Value="http://www.w3cschool.cc/" />
</asp:Bulletedlist>
</form>
The demonstration >>
BulletedList control