Live Chat Icon For mobile
Live Chat Icon

How to hide or show Controls in server side code?

Platform: ASP.NET| Category: Basic

In any appropriate event write

VB.NET


TextBox1.Visible =not TextBox1.Visible 

C#


TextBox1.Visible =!TextBox1.Visible ;  

Share with

Share on twitter
Share on facebook
Share on linkedin