Question

I'm using an asp:DataList. I have the HeaderTemplate and the ItemTemplate, and those both work fine. However, I'd like to be able to repeat the Header above each Item, rather than just once at the top.

  1. Is this possible? Would I be better off using a different control?
  2. Can I make this configurable (ie, can it be turned on & off in the code behind)?

(Using C# 2.0)

Was it helpful?

Solution

Perhaps you are looking for the Repeater control.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top