title: Telerik Radgridview Winforms Change Cell/Row background color
body: <p>I am simply wanting to run a validation check fired from a button event on the form. For each row inside the grid, it checks the first cell to see if the value matches a string. For every one that fails, i'm wanting it to either change the cell or the row background color to be RED. When the user corrects the cell value and hit the button again, it will reverse back to the default color. For the life of me i can't get it to change the color. I know there is an event for cellformatting but surely i do not have to go through an event just to alter the style of a cell/row. I am trying the below code without any luck. All the examples i'v seen are event based so hoping i can avoid this entirely. </p>
  
  <pre><code>if (!ValidateParametersExistInScript(rtxtQuery.Text))
  {
      GridViewCellInfo cell = rgvNewParameters.Rows[0].Cells["ParameterName"];
      cell.Style.BackColor = Color.Red;
      cell.Style.DrawFill = true;
      MessageBox.Show("Parameters do not match definition inside query, " + 
                      "please check spelling and try again.");
  }
  </code></pre>