I tried to redirect my page after this code is being execute but it does not redirect.
// Download File.
Response.Clear();
Response.Buffer = true;
Response.Charset = "";
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.ContentType = "application/octet-stream";
Response.AddHeader("Content-Disposition", "attachment;filename=" + str_fileName + ".pdf");
Response.BinaryWrite(bytes);
Response.Flush();
Response.End();