views:

75

answers:

1

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)

+1  A: 

Perhaps you are looking for the Repeater control.

Andy West
I really didn't want to have to go down to the Repeater, but it looks like I do. Thanks.
Matt Grande