title: Add the Date Filter SharePoint webpart to an ASP.Net page
body: <p>How do I add the out-of-the-box SharePoint date filter webpart to an ASP.Net web page? </p>
  
  <p>I want to do it either in an ASPX...</p>
  
  <pre><code>&lt;%@ Register Assembly="&lt;DateFilterDLL??&gt;" Namespace="&lt;??&gt;" TagPrefix="DP" %&gt;
  &lt;...&gt;
          &lt;asp:WebPartManager ID="WebPartManager1" runat="server"&gt;
          &lt;/asp:WebPartManager&gt;
  &lt;...&gt;
   &lt;ZoneTemplate&gt;
          &lt;DP:&lt;DateFilterWebPart??&gt; ID="DateFilter" runat="server" /&gt;
  </code></pre>
  
  <p>or programmatically, in the ASPX.CS</p>
  
  <pre><code>protected void Page_Load(object sender, EventArgs e)
  {
   this.Controls.Add(&lt;Microsoft.Something.DatePicker??&gt;
  }
  </code></pre>