title: ASP.NET Button click redirect to new page
body: <p>I have created a Button programmatically.
  I now want to redirect to a new aspx page on the click of this Button, such that we will enter into one of the methods of the new page (like page_load(), etc.)</p>
  
  <p>Is this possible?</p>
  
  <p>Eg:</p>
  
  <pre><code>Button oButton = new Button;
  oButton.Text = "NextPage";
  // Redirect to "Redirect.aspx" on click
  </code></pre>
  
  <p>But I am not able to find an entry point in Redirect.aspx where I can do some changes to the UI components once we get redirected to "Redirect.aspx"</p>
  
  <p>Regards,</p>
  
  <p>Parag</p>