title: Close Page on click button press asp.net c#
body: <p>This is my first Page Name: RiskQuery.aspx. From this page on Click the
  Link button of Grid View , open another page name, RiskMessage.aspx.
  Both pages are under same master Page.</p>
  
  <p>1st Page's Grid View Link button tag below:</p>
  
  <pre><code> &lt;asp:HyperLinkField DataNavigateUrlFields="AppID" DataNavigateUrlFormatString="~\RiskMessage.aspx?AppID={0}" Text="Message" target="_blank" /&gt;
  </code></pre>
  
  <p>code behind of my RiskMessage.aspx:</p>
  
  <pre><code>if (!IsPostBack)
  {
      string id = null;
      try
      {
          id = Session["cust_id"].ToString();
      }
      catch { }
  
      if (id != null)
      {
          txtEntryHomeID.Text = id;
      }
      getMasterInfo();
  }
  </code></pre>
  
  <p>I successfully opened the 2nd Page and from this page, I update my required
   record. But I want to Close the 2nd page after I update the record on the [Save] button press.</p>
  
  <p>I need help closing the 2nd page.</p>