title: Changing the CSS in code behind asp.net
body: <p>in my aspx page I have this div..</p>
  
  <p><code>&lt;div id="downloadableProducts" runat="server"&gt;&lt;a href="#"&gt;Downloadedable Products&lt;/a&gt;&lt;/div&gt;</code></p>
  
  <p>I am trying to change the css in the code behind like this..</p>
  
  <p><code>downloadableProducts.Style("display") = "none";</code></p>
  
  <p>but this does not work, I get an error and red underline under <code>downloadableProducts</code> in the code behind and it says 'The name 'downloadableProducts' does not exist in the current context
  '</p>
  
  <p>What am I doing wrong?</p>