ASP.NET button click event only works when on Top level master page
<p>I have base.master (top-level), second.master (submaster). A button in the top-level master fires the click event fine, on a page which ues that one master, if its on page where the second.master is used, that button click event doesn't work.</p>

<p>No buttons that I place in the submaster work either, heres the code:</p>

<pre><code>protected void afd(object sender, EventArgs e)
        {
            var a = "C";
        }

&lt;asp:Button runat="server" OnClick="afd" Text="huh" /&gt;
</code></pre>

<p>Base.master directive:</p>

<pre><code>&lt;%@ Master Language="C#" MasterPageFile="~/umbraco/masterpages/default.master" AutoEventWireup="True" CodeBehind="Base.master.cs" Inherits="UmbracoWebsite.masterpages.Base" %&gt;
</code></pre>

<p>Register.master directive:</p>

<pre><code>&lt;%@ Master CodeBehind="~/masterpages/Register.master.cs" Inherits="UmbracoWebsite.masterpages.Register" Language="C#" MasterPageFile="~/masterpages/Base.master" AutoEventWireup="True" %&gt;
</code></pre>
