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

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.