or
if (e.Item is GridDataItem)
{
GridDataItem it = e.Item as GridDataItem;
try
{
if (it["track_type"].Text.Trim() == "0")
{
it.BorderColor = System.Drawing.
Color.Red;
}
}
catch { }
}
this not works but the it.BackColor = System.Drawing.Color.Red work OK.
What I did wrong?
May be I need to override Grid's Style of my skin?
Thank you very much in advance.
Boris
protected void ItemRotator_DataBound(object sender, EventArgs e) {...}RadRotatorEventArgs Event = (RadRotatorEventArgs)e;