how to display none through code behind September 6, 2023 by Tarik I believe this should work: login_div.Attributes.Add("style","display:none");