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="backgrou nd-color:#E0E0E0" stuff here </div>
</ItemTemplate>
<AlternatingIte mTemplate>
HTML and binding expressions , CSS style class, e.g.
<div style="backgrou nd-color:#FFCC66"a lternating stuff here </div>
</AlternatingItem Template>
<SeparatorTempl ate>
HTML and binding expressions
</SeparatorTempla te>
<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