Dear All,
I am not sure that I should post this problem here or not.
I am opening a SaveAs Dialog by this code:-Response.ContentType = "image/jpeg";
Response.AppendHeader("Content-Disposition", "attachment; filename=" + objPersAttachmentsData.File_name);
Response.TransmitFile(Server.MapPath("~/temp/" + objPersAttachmentsData.File_name));
Response.End();
Open/Save file dialog opens by the above code. But when I try to save any image file (JPG,GIF etc), file is currepting and saving as unknown format on the mentioned path.
Any help?
I shall be very thankful to u.
Regards,
Fasih
...
Go to the complete details ...