All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
DataType="System.Int16" DataFormatString="{0:#,###,##0;-#,###,##0}"
<
telerik:GridBoundColumn
DataField
=
"EmployeeID"
HeaderText
UniqueName
DataType
"System.Int16"
/>
protected
void
RadGrid1_ItemDataBound(
object
sender, Telerik.Web.UI.GridItemEventArgs e)
{
if
(e.Item
is
GridDataItem )
GridDataItem data = (GridDataItem)e.Item;
int
value = Convert.ToInt16(data[
].Text);
(value < 0)
data[
].ForeColor = Color.Red;
}