How to Comment Out an ASP Control

You cannot use HTML to comment out an ASP controls.

Instead, to comment out ASP controls, use asp comments. That is,

<%-- <asp:TextBox ID="uxTextBox1" runat="server" Text="Howdy!" /> --%>
Advertisements