M
MattC
Hi,
I want to create a control that performs much like a datalist but I want
more control over how the <ItemTemplate> contents is set out on the page.
For example I have a 4 by N grid of images to set out on the page, how the
first row is slightly different in taht the first image is twice the size of
the rest, so the first row only have 3 images the remaining rows have 4
images. Would I be best to derive my own control from Repeater? What
methods will I need to override to alter the layout to design required.
The information about the images is stored in a collection of classes so I
will need to use the DataBinder.Eval(...) method.
TIA
MattC
I want to create a control that performs much like a datalist but I want
more control over how the <ItemTemplate> contents is set out on the page.
For example I have a 4 by N grid of images to set out on the page, how the
first row is slightly different in taht the first image is twice the size of
the rest, so the first row only have 3 images the remaining rows have 4
images. Would I be best to derive my own control from Repeater? What
methods will I need to override to alter the layout to design required.
The information about the images is stored in a collection of classes so I
will need to use the DataBinder.Eval(...) method.
TIA
MattC