Solved

Repeater Items bullets

Posted on 2009-05-18
4
519 Views
Last Modified: 2013-11-26
How can I make the items in a repeater "bullets" ?


<asp:Repeater ID="rpContentList" runat="server">
   <HeaderTemplate>
  </HeaderTemplate>
                                                                                                                <ItemTemplate>
                                                                                                                    <%#Container.DataItem("Information")%><br />
                                                                                                                    <br />
                                                                                                                </ItemTemplate>
                                                                                                            </asp:Repeater>

Open in new window

0
Comment
Question by:lrbrister
  • 2
  • 2
4 Comments
 
LVL 15

Expert Comment

by:mohan_sekar
ID: 24415963
<asp:Repeater ID="rpContentList" runat="server">        
        <ItemTemplate>        
        <table>
        <tr>
        <td>
        <asp:BulletedList ID="pb" runat="server">
        </asp:BulletedList>
        <asp:BulletedList ID="cb" runat="server">
        </asp:BulletedList>
        </td>
        </tr>          
                </table>
        </ItemTemplate>
        </asp:Repeater>
0
 

Author Comment

by:lrbrister
ID: 24415985
mohan_seler
I only have one data column in the repeater...Where would I place that in your code?

<%#Container.DataItem("desc")%>
0
 
LVL 15

Accepted Solution

by:
mohan_sekar earned 500 total points
ID: 24416036
<asp:Repeater ...>
  <HeaderTemplate>
    <ul>
  </HeaderTemplate>
  <ItemTemplate>
    <li><%#Container.DataItem("desc")%></li>
  </ItemTemplate>
  <FooterTemplate>
    </ul>
  </FooterTemplate>
</asp:Repeater>
0
 

Author Closing Comment

by:lrbrister
ID: 31582755
That didn't work for wome reason in my repeater but when I changed to to a Datalist it bworked fine
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
in Dot net,lastest version of MVC 3 25
Modal Popup Extender control 1 22
VB.Net Tranfer data between to VB.Net apps 8 27
parsing JSON help 1 10
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question