As a newcomer to .NET, I apologize if this question seems a bit naive.
I am attempting to create a stylish checkbox using server-side checkboxes instead of the input=checkbox tags:
<div runat="server" id="divCheckBoxContainer" style="padding-top:5px; padding-bottom:5px;" class="divCheckBoxContainer">
<asp:Label runat="server" ID="Label1" Visible="false" EnableViewState="false" ViewStateMode="Disabled" />
<asp:CheckBox runat="server" ID="CheckBox1" Width="100%" Height="18px" />
</div>
The label is set to Visible=false because in the code-behind, the content for the ASP checkbox is assigned as an attribute when I utilize the app control:
<uc2:CheckBox runat="server" LabelWidth="450" Width="50" IsAlternatingRow="false" ID="TEST" Label="TEST TEST" />