can I view two separate aspx files in one webpage?
<p>I have an issue where I have two pages that deal with very similar things and as such quite a few of their methods and aspx server controls have identical method names and variables.  In short, it's pretty obvious that the code was copy/pasted and the innards were merely altered.  I have a pending request that the two pages be merged so I've explored a number of options as to how I should best merge them.</p>

<p>First I thought that perhaps I could put one of the pages in a masterpage that will allow for a content place holder wherein I'd then put the code/controls, but it looked to be a bad idea once I started to make plans. For one the similar names would probably still be a problem and second it seems a rather clunky way to merge two pages together.</p>

<p>I've considered renaming all the methods and controls but on the other hand it's going to take a lot of time picking over the code and the controls to rename them all.  My worry is that if I try to change the problematic method names, controls, IDs, I'll introduce a lot of bugs in the code. </p>

<p>Is there a better way to view two pages in one webpage?</p>
