Latest web development tutorials

ASP.NET propiedad BulletedList Target

Control BulletedList Control BulletedList

Definición y Uso

propiedad de destino se utiliza para obtener o establecer dónde abrir la URL de destino.

gramática

<asp:BulletedList Target="target" runat="server">
Some Content
</asp:BulletedList>

属性 描述
target 规定在何处打开目标 URL。

可能的值:

  • _blank - 在新窗口中打开目标 URL
  • _self - 在被点击的同一框架中打开目标 URL
  • _search - 在搜索窗格中打开目标 URL
  • _top - 在整个窗口主体中打开目标 URL
  • _parent - 在父框架集中打开目标 URL
  • framename - 规定目标框架名称


Notas y sugerencias

Nota: Cuando la propiedad se establece en DisplayMode "hiperenlace", cuando, con el fin de utilizar esta propiedad.


Ejemplos

En el siguiente ejemplo, se establece el control de destino BulletedList:

<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>

La demostración >>

Control BulletedList Control BulletedList