string fileName = Server.MapPath(doc.PreparedClosureFileName); FileInfo file = new FileInfo(fileName); if (file.Exists) { string script = "frames['frmDownload'].window.location='Download.aspx?FileName=" + Server.UrlEncode(fileName) + "';"; Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "Download", script, true); } </pre> Regards, Soumya
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)