title: Generate .aspx pages dynamically
body: <p>I have an <code>.aspx</code> page. It has some buttons and dropdown controls.</p>
  
  <p>Let's say I click on a particular button then it must redirect to the page which we have to generate dynamically. This dynamically generated page will have of course dynamic controls and events. So basically what I want to know is how to generate this new <code>.aspx</code> page on click of existing page's button click, and how to add dynamic controls to the generated page's code behind.</p>