Home » FAQ » ASP.NET » Basic » How to hide or show Controls in server side code?
In any appropriate event write
VB.NET
TextBox1.Visible =not TextBox1.Visible
C#
TextBox1.Visible =!TextBox1.Visible ;
Share with