ComboBox |
The professional replacement for the classic ASP.NET DropDownList component. |
DataGrid |
The server control to display data in a tabular format with options of choice, sorting and editing entries. |
Include |
The server control to include a HTML files into your ASP.NET pages as Server Side Includes (SSI). |
Menu |
The server control to display both statically and dynamically created menus on your Web pages. |
Rating |
The server control to easily provide feedback on an article, blog item, product description, etc. |
TreeView |
The ASP.NET server control to display hierarchical data in a tree structure. |
|
|
How do I conditionally set the text color of a cell in my DataGrid based on the cell's value?
Apply an XSL Template used for Conditional Formatting.
...
<xsl:template name="Main">
<xsl:choose>
<xsl:when test="$Quantity$ > 20">
<font color="red">$Quantity$</font>
</xsl:when>
<xsl:otherwise>$Quantity$</xsl:otherwise>
</xsl:choose>
</xsl:template>
...
APNSoft FAQ Manager 1.0 (38) © 2003-2024 APNSoft. All rights reserved. |
|