Mam ten kodASP.net C# Wiele dokumentów na jeden obiekt Response
private void writeReport(IReport report, string reportName)
{
string reportString = report.makeReport();
ASCIIEncoding encoding = new ASCIIEncoding();
byte[] encodedReport = encoding.GetBytes(reportString);
Response.ContentType = "text/plain";
Response.AddHeader("Content-Disposition", "attachment;filename="+ reportName +".txt");
Response.OutputStream.Write(encodedReport, 0, encodedReport.Length);
Response.End();
}
ale mam 3 dokumenty, które trzeba wysłać do klienta. Wolałbym nie zmuszać użytkownika do klikania 3 przycisków, aby uzyskać pliki 3 txt. Czy istnieje sposób, aby wysłać wszystkie 3 na jedną odpowiedź?