P
PJ6
I'm having a problem I can't reproduce in a simple example. If I create a
class that inherits button and click on it in a web page, if I override the
OnClick method, on clicking, any code is executed, and any breakpoints
within it are hit. This exepcted behavior works in simple test projects
under a lot of different conditions.
OK so I put the exact same button inheritor in the live project that I'm
working on, and... the overriden OnClick method is *not* hit. No code
executes, no breakpoints are hit within it, and I have no idea why. Since I
cannot simply reproduce the problem (and therefore have no code I can
reasonably post) I was hoping someone might, off the top of their head, give
me a few guesses as to why this is happening, or offer a suggestion for
diagnosing the problem.
TIA,
Paul
class that inherits button and click on it in a web page, if I override the
OnClick method, on clicking, any code is executed, and any breakpoints
within it are hit. This exepcted behavior works in simple test projects
under a lot of different conditions.
OK so I put the exact same button inheritor in the live project that I'm
working on, and... the overriden OnClick method is *not* hit. No code
executes, no breakpoints are hit within it, and I have no idea why. Since I
cannot simply reproduce the problem (and therefore have no code I can
reasonably post) I was hoping someone might, off the top of their head, give
me a few guesses as to why this is happening, or offer a suggestion for
diagnosing the problem.
TIA,
Paul