| |||||
BulletedList Control SyntaxASP.NET Syntax ASP.NET Syntax for Web Controls Creates a control that generates a list of items in a bulleted format. For information on the individual members of this class, see BulletedList in the class library. RemarksThe BulletedList control renders a list of items that are formatted with bullets. To specify the individual list items that you want to appear in a BulletedList control, place a ListItem object for each entry between the opening and closing tags of the BulletedList control. Syntax ExampleThe below example shows a BulletedList control that is configured to display the list items as hyperlinks. The control contains statically defined items in which the URLs of the hyperlinks are defined in the Value property of each item. The control is also configured to display a custom image as the bullet. <asp:bulletedlist id="navList" displaymode = "hyperlink" target = "_blank" runat="server" bulletstyle = "customimage" bulletimageurl = "~/shared/razz.gif"> <asp:listitem text = "MSN" value="http://www.msn.com" /> <asp:listitem text = "MSNBC News" value="http://www.msnbc.msn.com" /> <asp:listitem text = "Microsoft" value="http://www.microsoft.com" /> <asp:listitem text = "ASP.NET" value="http://www.asp.net" /> <asp:listitem text = "GotDotNet" value="http://www.gotdotnet.com" /> <asp:listitem text = "MSDN" value="http://msdn.microsoft.com" /> <asp:listitem text = "MSN Shopping" value="http://shopping.msn.com" /> <asp:listitem text = "MSN Autos" value="http://autos.msn.com" /> <asp:listitem text = "MapPoint" value="http://www.mappoint.com" /> <asp:listitem text = "MSN City Guides" value="http://local.msn.com" /> <asp:listitem text = "MSN Music" value="http://music.msn.com" /> </asp:bulletedlist> See AlsoBulletedList Class BulletedList Web Server Control |
| ||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme