title: Why does setting display to none in the code-behind not add it to the HTML?
body: <p>I'm trying to set the display style of a couple of HtmlTableRows to "display:none" in code-behind like so:</p>
  
  <pre><code>foapalrow3 = new HtmlTableRow();
  foapalrow3.ID = "foapalrow3";
  foapalrow3.Attributes["display"] = "none";
  </code></pre>
  
  <p>...but it's not working - the "View Source" contains no "display:none" for either foapalrow3 or -4. Why not, and how can I force this to work as intended?</p>
  
  <p>Either my nogging or the wall is going to eventually crumble with this; I've been slamming like a fullback into a brick wall with it, as this <a href="https://stackoverflow.com/questions/31091241/how-can-i-show-a-formerly-hidden-htmltablerow-via-jquery">stream-of-codedness</a> shows.</p>