1.Response.AddHeader("Refresh", "3;URL=frmDashboard.aspx"); 2.Removed response.end(),response.flush(),response.close();
string filePath = "E:\\FileName.docx; Response.ContentType = ContentType; Response.AppendHeader("Content-Disposition", "attachment; filename=" + Path.GetFileName(filePath)); Response.WriteFile(filePath); Response.Flush(); HttpContext.Current.ApplicationInstance.CompleteRequest(); Response.Close();
var loop = setInterval(function () { if (IsCookieValid()) { document.getElementById('imgloadinggif').style.display = 'none'; clearInterval(loop) // your code here.. window.location.reload(); // reload the page } }, timeInterval);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)