BulletList control is used to create list of item
formatted with bullet. It works like a li in html.
1. Not set: Not style
2. Numbered: Bullet shows in number
3. LowerAlpha: like(a, b.. or aa, ab..etc).
4. UpperAlpha: like(A,B..or AA,AB..etc).
5. LowerRoman: like(i, ii..etc).
6. UpparRoman: like(I,II..etc).
7. Disc: Shows filled circle.
8. Circle: Shows empty circle.
9. Squre: Shows filled square.
10. CustomImage: Shows custom image
Example:
1. Not set: Not style
2. Numbered: Bullet shows in number
3. LowerAlpha: like(a, b.. or aa, ab..etc).
4. UpperAlpha: like(A,B..or AA,AB..etc).
5. LowerRoman: like(i, ii..etc).
6. UpparRoman: like(I,II..etc).
7. Disc: Shows filled circle.
8. Circle: Shows empty circle.
9. Squre: Shows filled square.
10. CustomImage: Shows custom image
Example:
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/RoseindiaMaster.master" CodeFile="BulletList.aspx.cs" Inherits="BulletList" %> <asp:Content ID="Content1" runat="server" contentplaceholderid="ContentPlaceHolder1"> <div> <h2 style="color:Green">BulletList in ASP.NET 4 , C#</h2> <asp:BulletedList ID="BulletedList1" runat="server" BulletImageUrl="~/Images/bullet-red.png" BulletStyle="CustomImage" DisplayMode="HyperLink" Font-Bold="True" Font-Size="Large" Width="128px"> <asp:ListItem Value="http://roseindia.net/">Roseindia</asp:ListItem> <asp:ListItem Value="http://www.google.co.in/">Google</asp:ListItem> <asp:ListItem Value="http://roseindia.net/techindex/Flex4.html">Flex4 tutorial</asp:ListItem> <asp:ListItem Value="http://roseindia.net/java/">Java tutorial</asp:ListItem> </asp:BulletedList> </div> </asp:Content>
No comments:
Post a Comment