I have an ASP.NET web form. The first time I submit the form, the SubmitButton_Click event will be raised.
The form is returned to the browser either with validation errors, or with the ability to submit the form with new values.
When the form is marked again, the SubmitButton_Click event never fires. Page_Load fires, but not a button.
Does anyone know why I will see this server-side behavior?
(I use jQuery and client side validation, but I donβt think this is causing the problem. I think I would mention this).
Edit:
<asp:Button ID="SubmitButton" OnClick="SubmitButton_Click"
runat="server" />
The event is set on the control, not in the code.
y0mbo source
share