title: Page.FindControl comes back null for DIV
body: <p>I have a page where I create div controls dynamiclly and number them automaticlly.</p>
  
  <pre><code>subCell = new TableCell();
  subCell.Controls.Add(new LiteralControl(
      "&lt;div id=\"picker" + Index.ToString() + "\" runat=\"server\" 
       class=\"colorSelector\"&gt;&lt;div style=\"background-color: #000000;\"&gt;Text
       &lt;/div&gt;&lt;/div&gt;"));
  subRow.Cells.Add(subCell);
  subTb.Rows.Add(subRow);
  </code></pre>
  
  <p>Later in the code I want to get the background-color value like so:</p>
  
  <pre><code>HtmlGenericControl div;
  
  div = (HtmlGenericControl)Page.FindControl("picker" + e.CommandArgument.ToString());
  
  string colorCode = div.Style["background-color"].ToString();
  </code></pre>
  
  <p>after these line of code I get a null object ref error.
  div is null.
  I have tried HtmlControl and LiteralControl as the object type and that does not help either.</p>
  
  <p>Thank you!</p>