BulletedList display Mode: hyper link : BulletedList « Asp Control « ASP.Net






BulletedList display Mode: hyper link

<%@ Page Language="C#" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Show BulletedList HyperLinks</title>
</head>
<body>
    <form id="form1" runat="server">

    <asp:BulletedList
        id="blWebsites"
        DisplayMode="HyperLink"
        Target="_blank"
        Runat="server">
        <asp:ListItem 
            Text="Yahoo"
            Value="http://www.Yahoo.com" />
        <asp:ListItem 
            Text="Google"
            Value="http://www.Google.com" />
        <asp:ListItem 
            Text="java2s.com"
            Value="http://www.java2s.com" />
    </asp:BulletedList>
       
    </form>
</body>
</html>


           
       








Related examples in the same category

1.Add item to asp bulletlist
2.Sort asp BulletList in VB.net
3.Change BulletedList style