This is a discussion on How to change the row color of the Repeater based on some condition? within the ASP and ASP.NET Programming forums, part of the Web Development category; How to change the row color of the Repeater based on some condition?...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| <asp:Repeater ID="Repeater1" Runat="server" EnableViewState="False"> <HeaderTemplate> <table> </HeaderTemplate> <ItemTemplate> <tr <%# FormatColorRow(DataBinder.Eval(Container.DataItem, "UnitPrice").ToString()) %> > <td > <%# DataBinder.Eval(Container.DataItem,"UnitPrice").To String() %> </td> </ItemTemplate> <FooterTemplate> </table> </FooterTemplate> </asp:Repeater> |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| To change the BackGround Color of Submenus without using CSS | kingmaker | HTML, CSS and Javascript Coding Techniques | 1 | 01-20-2008 09:20 PM |
| Change color video to Black and white | arunsamini | Flash Actionscript Programming | 3 | 10-31-2007 07:14 AM |
| How to change the checkBox properties, which is inside nested Repeater/Grid | kingmaker | C# Programming | 2 | 08-10-2007 12:28 AM |
| How to change the row color of the Repeater based on some condition? | kingmaker | ASP and ASP.NET Programming | 1 | 07-24-2007 12:01 AM |
| How to change the scrollbar color and folder icon in Tree component in Flash | Balasubramanian.S | Flash Actionscript Programming | 2 | 03-27-2007 11:29 PM |