J
John Owens
Currently I use Response (below) but it feels a little hacky. Is there
anyway to do this using a nice little Framework class
Response.Clear();
Response.AddHeader("Content-Disposition", "attachment;
filename=Letter.blah");
Response.AddHeader("Content-Length", msOutFileData.Length.ToString());
Response.ContentType = "application/vnd.msword";
Response.BinaryWrite( msOutFileData.GetBuffer() );
Response.Flush();
Response.Redirect( "" );
anyway to do this using a nice little Framework class
Response.Clear();
Response.AddHeader("Content-Disposition", "attachment;
filename=Letter.blah");
Response.AddHeader("Content-Length", msOutFileData.Length.ToString());
Response.ContentType = "application/vnd.msword";
Response.BinaryWrite( msOutFileData.GetBuffer() );
Response.Flush();
Response.Redirect( "" );