All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
"server"
AutoGenerateColumns
"false"
onitemdatabound
"RadGrid1_ItemDataBound"
>
MasterTableView
DataKeyNames
"OrderID"
Columns
telerik:GridBoundColumn
UniqueName
DataField
HeaderText
/>
"ShipCity"
</
protected
void
RadGrid1_ItemDataBound(
object
sender, Telerik.Web.UI.GridItemEventArgs e)
{
if
(e.Item
is
GridDataItem)
GridDataItem item = (GridDataItem)e.Item;
string
val = item.GetDataKeyValue(
).ToString();
//Access the DataKeyValue
TableCell cell = item[
];
//Access cell value of Column that you want to strike
(Condition)
cell.CssClass =
"text"
;
}
<style type=
"text/css"
.text
text-decoration
:
line-through
</style>