Sir,
I am D.Srinivas. I am working on JobPortal Website(www.tlabsinc.com).
I am downloading MS-Word document using ASP.NET 2.0 & C# 2.0. I am using IE (Internet Explorer). In my localhost it is working fine.
After giving to Client, it is not working fine. Because, Client has installed 'Download Accelerator Plus (DAP)'. Because of that(DAP) software, instead of downloading Resumes(word document), it is downloading source code in different format.
Please help me because I am doing JobPortal website project.
I used the following code for downloading MS-Word document or Text document.
protected void lbtWordDoc_Click(object sender, EventArgs e)
{
Response.ContentType = "Application/msword";
string FilePath = MapPath("~//Resumes//" + UserId + ".doc");
Response.WriteFile(FilePath);
Response.AppendHeader("content-disposition", "attachment; filename=" + FilePath);
Response.End();
}
Regards,
D.Srinivas.