I have a page with a form in a user control. When the button is clicked the validation methods are called correctly client side and server side, but the delegate method is not processed.
ASPX Page
<%@ Control Language="C#" AutoEventWireup="false"...
...
<asp:Button runat="server" ID="btnSubmit" />
...
Codebehind
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
presenter = new MainContactFormPresenter(this);
this.btnSubmit.Click += delegate { if (this.Page.IsValid) { presenter.SubmitContact(); } };
}