ASP.Net Checkbox Doesn't Allow Setting Visible to True
- by Shawn Steward
I'm working on an old web application in Visual Studio .Net 2003 (yeeich) and I'm having an issue with a Checkbox that will not set the Visibility to True.
It's declared as such:
Protected WithEvents chkTraining As System.Web.UI.WebControls.CheckBox
and
<asp:CheckBox id="chkTraining" runat="server" Visible="False"></asp:CheckBox>
When I am debugging through the line that has:
chkTraining.Visible = True
it goes past it fine, but as I check this value on the very next line, chkTraining.Visible = False. What could possibly be going on here? There's no events firing off or anything else going on... this really is throwing me for a loop. Thanks for your help.