<!DOCTYPE html>
<html>
<head>
<script runat="server">
Sub Page_Load
if Page.IsPostBack then
lbl1.Text="You Clicked YES!"
end if
End Sub
</script>
</head>
<body>
<form runat="server">
<p>DisplayMode is Text</p>
<asp:Bulletedlist id="bl1" runat="server">
<asp:ListItem Value="Item 1" />
<asp:ListItem Value="Item 2" />
</asp:Bulletedlist>
<p>DisplayMode is HyperLink</p>
<asp:Bulletedlist DisplayMode="HyperLink" id="lb2" runat="server">
<asp:ListItem Value="http://www.w3schools.com/" Text="W3Schools" />
</asp:Bulletedlist>
<p>DisplayMode is LinkButton</p>
<asp:Bulletedlist DisplayMode="LinkButton" id="bl2" runat="server">
<asp:ListItem Value="YES!" Text="YES!"/>
</asp:Bulletedlist>
<asp:Label id="lbl1" runat="server" />
</form>
</body>
</html>