Repeating a Repeater?

fewweetType

New Member
Ok, here&#039s what I want to do. I have a list of articles in a database, and they each are assigned a category, such as XML, ASP, etc. <BR><BR>Now, what I want to do is create a black heading bar, and then create an alternating-color table for the links. For each category, I want this table. I can do one category well enough with a repeater control, setting the header, ItemTemplate, and AlternatingItemTemplate. <BR><BR>However, is there any way to a) re-use this template again, and b) do it for an arbitrary number of &#039tables&#039 on the page? I want it to dynamically determine the number of categories, and display the repeater for each. <BR><BR>Any ideas?Solved my own problem. I created a pagelet containing the template that I wanted, and then included the pagelet multiple times on a page, passing in the category as a parameter. Very little code and effort once I got the idea down....
 
Back
Top