How to Hide server side control at design time?

 Posted by vishalneeraj-24503 on 3/12/2014 | Category: ASP.NET Interview questions | Views: 1495 | Points: 40
Answer:

Set control'Visible property to false to hide server side control.

For Example:
<asp:Label ID="lbl_employee_id" runat="server" Visible="false"></asp:Label>

<asp:Button ID="btn_reset" runat="server" Text="Reset" Visible ="false"/>


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response