title: ASP.NET page inheritance: Controls from base class are not initialized
body: <p>I am using a base page and an inherited page. The base page is working fine.</p>
  
  <p>In the inherited page I have the following @Page-directive:</p>
  
  <pre><code>&lt;%@ Page Title="" Language="C#" AutoEventWireup="True" Inherits="SubPage" CodeFileBaseClass="BasePage" CodeFile="SubPage.aspx.cs" %&gt;
  </code></pre>
  
  <p>and the following code-behind file</p>
  
  <blockquote>
    <p>public partial class SubPage: BasePage</p>
  </blockquote>
  
  <p>The problem is that in Page_Load of the <strong>base</strong> class, all Controls are null.</p>
  
  <p>A master-page is no solution for me in this case.</p>