Redirecting to multiple pages and showing up a particular page in between
<p>I startup with a HTML page then on submit click I redirect a page to a different xyz.aspx page. On the load event of xyz.aspx I write a code:</p>

<pre><code>StreamReader sr = File.OpenText(Server.MapPath("~/ResultXml/Result.xml"));
Response.ClearHeaders();
Response.AddHeader("content-type", "text/xml");
Response.Write(sr.ReadToEnd());
Response.Redirect("abc.aspx");
</code></pre>

<p>now on the page load event of abc.aspx the code is:</p>

<pre><code>Response.ContentType = "text/xml";
Response.AppendHeader("Content-Disposition", "attachment; filename=Result.xml");
Response.TransmitFile(Server.MapPath("~/ResultXml/Result.xml"));
Response.End();
</code></pre>

<p>The problem with the whole process is that I just get the download box dialog and I am unable to show the result file in xyz.aspx with <code>Response.Write()</code>.
the page which remains on the background is the starting HTML page.</p>
