title: How to pass values from an asp.net child page to the parent page
body: <p>I have two web pages, <code>Page1</code> and <code>Page2</code>, which can both open the same child popup page. </p>
  
  <p>If the parent page is <code>Page1</code> I want certain input from the Child page to returned to the parent page and if the parent page is <code>Page2</code> I want other information to be returned. </p>
  
  <p>I do identify who is the parent page and how do I return the input to it and have it show in the proper text box or DroDownList? </p>
  
  <p>I tried using <code>Request.UrlReferrer</code> putting results in a string variable and I got an error 'object not set to an instance'.</p>