ASP button even not firing
<p>I have set up a page with a submit button that the user can click and log in. I need to gather the field values and then do some backend stuff, but when the button is clicked, the even handler method I have set up doesn't fire. Heres the button code:</p>

<pre><code>&lt;asp:Button UseSubmitBehavior="false" CssClass="btn btn-primary" ID="btnTest" runat="server" Text="Submit" OnClick="btnTest_Click" /&gt;
</code></pre>

<p>And the codebehind:</p>

<pre><code>public partial class SignIn : System.Web.UI.Page
{
    protected void Page_Load(Object sender, EventArgs e)
    {
        btnTest.Click += new EventHandler(this.btnTest_Click);
    }

    protected void btnTest_Click(Object sender, EventArgs e)
    {
        string user = username.Value;
        string pass = password.Value;
        int userid = -1;
        RoomSvc.Data.Person[] persons = RoomService.Service.ServiceClient.GetPersons();
        RoomSvc.Data.Person pUser = null;
        foreach (RoomSvc.Data.Person p in persons)
        {
            if (p.username == user &amp;&amp; p.password == pass)
            {
                pUser = RoomService.Service.ServiceClient.GetPerson(userid.ToString());
            }
            else
            {
                return;
            }
        }
        RoomService.Global.currentUser = pUser;
    }
}
</code></pre>

<p>I have tried everything out there and nothing is making it work, could someone please enlighten.</p>

<p>EDIT: .aspx code:</p>

<pre><code>    &lt;%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="SignIn.aspx.cs" Inherits="RoomService.Account.SignIn" %&gt;



   &lt;asp:Content ID="SignInHeader" ContentPlaceHolderID="HeadContent" runat="server"&gt;
    &lt;/asp:Content&gt;
    &lt;asp:Content ID="SignInContent" ContentPlaceHolderID="MainContent" runat="server"&gt;
        &lt;form action="SignIn.aspx" class="form-horizontal well span5 offset5"&gt;
            &lt;fieldset&gt;
              &lt;legend&gt;Sign In&lt;/legend&gt;
              &lt;div class="control-group"&gt;
                &lt;label class="control-label" for="input01"&gt;Username&lt;/label&gt;
                &lt;div class="controls"&gt;
                  &lt;input runat="server" type="text" class="input-medium" id="username" /&gt;
                &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="control-group"&gt;
                &lt;label class="control-label" for="input01"&gt;Password&lt;/label&gt;
                &lt;div class="controls"&gt;
                  &lt;input runat="server" type="text" class="input-medium" id="password" /&gt;
                &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="form-actions"&gt;
                &lt;asp:Button CssClass="btn btn-primary" ID="btnTest" runat="server" Text="Submit" OnClick="btnTest_Click" /&gt;
              &lt;/div&gt;
            &lt;/fieldset&gt;
        &lt;/form&gt;
    &lt;/asp:Content&gt;
</code></pre>
