I've searched Google and cannot find anyway to remove the bullet points from the bulleted list control. I only want a list with the text only no numbers, bullet points or letters. How can I do this?
If i cant do this is there an alternative to this perhaps another control i should look into? I need to be able to get the values so I'm binding data to this control.
Heres the html just in case-
<ItemTemplate>
<asp:Table ID="comparator_tbl" runat="server" CssClass="plainTable">
<asp:TableRow>
<asp:TableCell ID="demographic_cell" runat="server" HorizontalAlign="Right">
<asp:BulletedList ID="demographicComparator_lst" runat="server">
</asp:BulletedList>
</asp:TableCell>
<asp:TableCell ID="detail_cell" runat="server" HorizontalAlign="left">
<asp:BulletedList ID="comparator_lst" runat="server">
</asp:BulletedList>
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</ItemTemplate>
Bullet list control is used to show items as a bulleted list. if you don't need bullets the you should use simple list control... I think you will have to resort to setting this with CSS since the BulletStyle property of the BulletedList doesn't support a blank style.
<asp:BulletedList ID="BulletedList1" runat="server" style="list-style-type:none;" >
</asp:BulletedList>
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With