Basic breakdown of what's avaiable:
<asp:Repeater id="Repeater1" runat="server">
<HeaderTemplate>
HTML and binding expressions here
</HeaderTemplate>
<ItemTemplate>
HTML and binding expressions here, CSS style class, e.g.
<div style="background-color:#E0E0E0" stuff here </div>
</ItemTemplate>
<AlternatingItemTemplate>
HTML and binding expressions , CSS style class, e.g.
<div style="background-color:#FFCC66"alternating stuff here </div>
</AlternatingItemTemplate>
<SeparatorTemplate>
HTML and binding expressions
</SeparatorTemplate>
<FooterTemplate>
HTML and binding expressions
</FooterTemplate>
</asp:Repeater>
Cheers,
Peter
--
Site:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com
Short urls & more:
http://ittyurl.net
"Sachin" wrote:
Hi All,
I am using ASP.NET Repeater Web Control.
I want to use different stylesheets for alternating rows similar to DataGrid
contorl.
How can I do this?
Thanks In Advance
Sachin