Repeating the Header of a DataList
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.
- Is this possible? Would I be better off using a different control?
- Can I make this configurable (ie, can it be turned on & off in the code behind)?
(Using C# 2.0)
Solution
Perhaps you are looking for the Repeater control.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow