Код: Выделить всё
public ActionResult PrintInvoice(long ID)
{
var data = db.Documents.Where(x => x.InvoiceNumber == ID);
ReportDocument rd = new ReportDocument();
rd.Load(Server.MapPath("~/Reports/InvoiceDocument.rpt"));
Stream stream = rd.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);
stream.Seek(0, SeekOrigin.Begin);
return new FileStreamResult(stream, "application/pdf"); //For Showing PDF in Browser itself
}
Как установить заголовок на этой странице.
В настоящее время заголовок на странице выглядит так, как показано на рисунке. ниже на изображении::

< /п>
Подробнее здесь: https://stackoverflow.com/questions/214 ... le-of-page
Мобильная версия