I solved my problem. And the solution is worth noting.
In my inherited CheckBox, I had overridden the OnPreRender event handler.
But I neglected to call the base.OnPreRender(e), which seemed to be the
problem.
"Chris Heinrich" <> wrote in message
news:...
> I have inherited the CheckBox control. It used to work just fine. I just
> now noticed that when I turn an ON checkbox to OFF, the server does not
seem
> to recognize that and it doesn't even trigger the OnCheckedChanged event
> handler. When I am going from OFF to ON, it works fine. But once the
> checkbox is on, I'm stuck. I have absolutely no idea how or when this
> started. I'm still on the original .NET framework and I have never made
any
> changes to it. And I don't know what I could have introduced in my code
to
> cause such unexpected behavior. Any ideas? Thanks
>
>
|