Using a <ul> <il> html code inside an asp.net repeater

Discussion in 'ASP .Net' started by Olivier Verdin, Jul 6, 2005.

  1. Hi,

    It seems that it is not possible to use <il> tag inside an asp.net repeater.

    Is there any way to overcome this difficulty?

    Thanks,

    Olivier
     
    Olivier Verdin, Jul 6, 2005
    #1
    1. Advertisements

  2. Olivier Verdin

    Karl Seguin Guest

    Do you mean <li> ?

    What's the issue?
    <asp:repeater id="x" runat="server">
    <headerTemplate><ul></HeaderTemplate>
    <itemTemplate><li><%# DataBinder.Eval(Container.DataItem, "Name") %></li>
    <footerTemplate></ul></FooterTemplate>
    </asp:repeater>

    Karl
     
    Karl Seguin, Jul 6, 2005
    #2
    1. Advertisements

  3. Your example works fine. Thanks. forgot the header/footer.

    Olivier
     
    Olivier Verdin, Jul 6, 2005
    #3
  4. Olivier Verdin

    OmerTR

    Joined:
    Apr 24, 2012
    Messages:
    1
    Likes Received:
    0
    missing

    missing closing tag </itemTemplate>
     
    OmerTR, Apr 24, 2012
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.