Solved

Repeater Items bullets

Posted on 2009-05-18
4
530 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

Is Your Team Achieving Their Full Potential?

74% of employees feel they are not achieving their full potential. With Linux Academy, not only will you strengthen your team's core competencies but also their knowledge of of the newest IT topics.

With new material every week, we'll make sure that you stay ahead of the game.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

690 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