display none and show in asp.net code example Example: display none asp.net div.Attributes.Add("style","display:none");