title: Changing the colour of a row based on a condition
body: <p>I want to change a particular row color of gridview based on some condition, i am using ASP.NET with c#.</p>
  
  <p>I know i can use the HTMLCellPrepared method, but in my method i want to look at the values of other grids as well? Is this possible?</p>
  
  <pre><code>    protected void GVResults_HtmlDataCellPrepared(object sender, ASPxGridViewTableDataCellEventArgs e)
      {
          if (e.DataColumn.FieldName == "CarrierId")
              if ( Convert.ToInt32(e.CellValue) &gt; 0)
                  e.Cell.ForeColor = System.Drawing.Color.Red;            
      }
  </code></pre>
  
  <p>This is the first part of the method, but i want to look at values from other grids in order to make visual changes to this grid. Problem is I dont know how to access values from other grids....</p>