ASP.NET control event handler not firing on postback?
Posted
by Polaris878
on Stack Overflow
See other posts from Stack Overflow
or by Polaris878
Published on 2010-04-12T21:26:58Z
Indexed on
2010/04/13
20:23 UTC
Read the original article
Hit count: 323
I have a control which has an ImageButton
which is tied to an OnClick event... Upon clicking this control, a postback is performed and the event handler is not called. AutoEventWireup
is set to true, and I've double checked spelling etc.... We haven't touched this control in over a year and it has been working fine until a couple of weeks ago.
We have made changes to controls which load this control... so I'm wondering, what kind of changes could we have made to stop this event handler from being called? There is quite a bit of Javascript going on, so this could be the culprit too...
Edit: Some clarification... we are dynamically loading the parent control of the ImageButton
in the OnLoad event of the page... if that makes sense.
© Stack Overflow or respective owner