Solved

Repeater Items bullets

Posted on 2009-05-18
4
527 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

738 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