G
Galadriel
is it possible to get the repeater control to display items across a page
i realise that i can use table cells to get it to repeat across but that would just repeat in one row on and on
<table><tr><itemtemplate><td>index=index+
</td
if index=mod(count of items rendered / 3.... etc et
</tr><tr
end i
</itemtemplate></tr
the above would be the old way of doing it with recordset
looking to end up with a structure like this
item1 item2 item3
item4 item5 item6
item7 item8 item9
so i know its now got to be completed by using the code behind
Private Sub Repeater2_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.RepeaterItemEventArgs) Handles Repeater2.ItemDataBoun
If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType = ListItemType.AlternatingItem The
somthing in here that knows the count of rows already rendered and is able to output a string to the end of the html for every third ro
end i
........
is this possible?
or can you movenext in a repeater control on the html and have a template that does three rows before moving on to the next row (ie like old recordsets)?
i realise that i can use table cells to get it to repeat across but that would just repeat in one row on and on
<table><tr><itemtemplate><td>index=index+
</td
if index=mod(count of items rendered / 3.... etc et
</tr><tr
end i
</itemtemplate></tr
the above would be the old way of doing it with recordset
looking to end up with a structure like this
item1 item2 item3
item4 item5 item6
item7 item8 item9
so i know its now got to be completed by using the code behind
Private Sub Repeater2_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.RepeaterItemEventArgs) Handles Repeater2.ItemDataBoun
If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType = ListItemType.AlternatingItem The
somthing in here that knows the count of rows already rendered and is able to output a string to the end of the html for every third ro
end i
........
is this possible?
or can you movenext in a repeater control on the html and have a template that does three rows before moving on to the next row (ie like old recordsets)?