Changing CSS in code behind asp.net
on my aspx page i have this div.
<div id="downloadableProducts" runat="server"><a href="#">Downloadedable Products</a></div>
I am trying to change css in code like this.
downloadableProducts.Style("display") = "none";
but it doesn’t work, I get an error message and a red underscore under downloadableProductsin the code behind, and it says: "The name" downloadableProducts "does not exist in the current context
What am I doing wrong?
+5