A DataListis rendered with <table> or <span> tags, which I don't want.
I've set RepeatLayout="Flow" but that still gives me spans.
I've set RepeaterDirection="Horizontal" but that still give me the tables.
how can i get a simple datalist without all the spans \ tables?
<asp:DataList ID="MyDataList" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">
<ItemTemplate>
....
</ItemTemplate>
</asp:Datalist>
Thanks in advance!
Do you need it to be a
DataListcontrol at all? You can have full control over the rendered HTML by using aRepeateror even just looping through your objects and manually rendering your output.