I have a checkbox on a .ascx file. This .ascx file is located within a closed source web application and something is preventing the checkchanged event from firing every other time.
When I first load the page and click the checkbox (checking it) the first time the checkchanged event is fired. If I click it the second time (uncheck) the checkchanged event isn't fired. If I check it again the event is fired and when i uncheck it again it doesn't fire and continues as so. If I set the checkbox's default value to be true, as it loads up, the same effect occurs only it fires when it is unchecked the first time and doesn't fire when it is checked the second time and so on.
The page this .ascx is on has EnableViewState set to true as well as the .ascx and I've even tried setting it on the checkbox itself. The checkbox has the AutoPostBack set to true as well.
If I pull the .ascx file out of this application and put it on a test web application page it works as expected. I also better mention that the checkbox is inside of an update panel but that doesn't seem to be related because if I remove the update panel it still has the same adverse effect.
What within this application could be preventing the checkchanged event from firing every other time?