|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Extending the DataRepeaterthe CreateControlHierarchy() method to output the header and footer templates and loop thru and add the item templates manually, i'd get results like the following. There are 5 items in my datasource. Results on databind: Item1 Item1 Item2 Item1 Item2 Item3 Item1 Item2 Item3 Item4 Item1 Item2 Item3 Item4 Item5 I've checked and here are some debug messages i've printed out for what's happening. DataBind() called! CreateChildControls Called! CreateControlHierachy(True) called! CreateItem Called (Header: 0) CreateItem Called (Item: 1) CreateItem Called (Item: 2) CreateItem Called (Item: 3) CreateItem Called (Item: 4) CreateItem Called (Item: 5) CreateItem Called (Footer: 6) ITEM COUNT: 5 Thanks Michael |
|||||||||||||||||||||||