Mishigen Mishigen - 1 year ago 107
ASP.NET (C#) Question

how to display none through code behind

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">

Answer Source

I believe this should work:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download