title: Create instance of an ASPX page programmatically and parse html
body: <p>From the code on one page I want to be able to generate an instance of another page and parse the html from certain controls on that page.</p>
  
  <p>this is what i have tried so far</p>
  
  <pre><code>var APIListPage = (APIList)BuildManager.CreateInstanceFromVirtualPath("~/APIHelp/APIList.aspx", typeof(APIList));
  ParseHtml(APIListPage.pdfPage);
  </code></pre>
  
  <p>The problem is <code>APIListPage.pdfPage</code> is always <code>null</code>.</p>