ContentType for Aspose

I am attempting to render a report using the Aspose txt. The report works on the report server and if I call ContentType = “application\pdf”, however, it renders a gobble gook text file if I use “text\plain” with extention .txt . Can you help? the code is below

Response.ContentType = "text\plain";
strExt = ".txt"
strReportName = "/GLP Reports/FormNPX_Txt";
Response.AddHeader ("content-disposition", 
"attachment; filename=\"" + strFileName[2] + strExt + "\"");
// GenerateReport Function
Response.BinaryWrite(byteReportData);
Response.Flush();
Response.Close();

Answered via email.