title: Page_Load not firing in UserControl
body: <p>I have created a class in c# inside a class library and i have added this control to the default.aspx, but my code doesnt fire the page_load event. Here is the code:</p>
  
  <p>What am i doign wrong?</p>
  
  <p>The page loads but doesn't show the label on the page. I have added the control to the page correctly without any errors. I have event added the register tag in there.</p>
  
  <p>html tag: <code>&lt;RandoIntegerControls:RandomIntegerControl ID="RandomIntegerControl1" runat="server"&gt;&lt;/RandoIntegerControls:RandomIntegerControl&gt;</code></p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Web.UI.WebControls;
  
  namespace CSIMedia.WebControls
  {
  
    public class RandomIntegerControl : PlaceHolder
    {
  
      private Label _Label;
  
  
      public RandomIntegerControl()
      {
  
      }
  
      private void Page_Load(Object sender, EventArgs e)
      {
  
          this._Label = new Label();
          this.Controls.Add(this._Label);
          this._Label.Text = "Enter random values:";
  
      }
  
    }
  }
  </code></pre>
  
  <p>Default.aspx page:</p>
  
  <pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %&gt;
  &lt;%@ Register TagPrefix="RandoIntegerControls" Assembly="CSIMedia.WebControls" Namespace="CSIMedia.WebControls"%&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head id="Head1" runat="server"&gt;
      &lt;title&gt;&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form id="form1" runat="server"&gt;
      &lt;div&gt;
          &lt;RandoIntegerControls:RandomIntegerControl ID="RandomIntegerControl1" runat="server"&gt;&lt;/RandoIntegerControls:RandomIntegerControl&gt;
      &lt;/div&gt;
      &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>