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

  • Thread starter Thread starter Olivier Verdin
  • Start date Start date
O

Olivier Verdin

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
 
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
 
Your example works fine. Thanks. forgot the header/footer.

Olivier
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top