how to display none through code behind

Posted by sumit on Stack Overflow See other posts from Stack Overflow or by sumit
Published on 2009-12-10T16:09:51Z Indexed on 2010/06/17 13:03 UTC
Read the original article Hit count: 187

Filed under:
|

I have tried this

login_div.Style("display") = "none";

But it's not working.how can I set the display of the div to none through code behind, in aspx I have a div:

<div id="login_div" runat="server">

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about masterpage