Hi Mike,
If you want do this with the out-of-the-box Repeater, you can do it like so:
<asp:repeater ... >
<ItemTemplate>
<tr runat="server" id="car" Visible=<%#(Container.DataItem("Category") = 1)%>>
<td colspan="2"><%# Databinder.Eval( ... The brand of the car ... ) %> <td>
<tr>
<tr ruant="server" id="animal" Visible=<%#(Container.DataItem("Category") = 1 AND Container.DataItem("IsAnimal") = 1)%>>
<td><%# Databinder.Eval( ... The name of the animal... ) %> <td>
<td><%# Databinder.Eval( ... The age of the animal... ) %> <td>
<tr>
</ItemTemplate>
</asp:repeater>
You can still go down the path of creating your own Server Control with named templates, but this may give you some ideas.
Marcie
http://www.datagridgirl.comNEW!
http://www.gridviewgirl.com