-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
Hello,
I want to send the PdfResult as an email. I could not convert the RdfResult to MemoryStream.
The following code needs to be run but It's not working.
How can I fix this problem? Thank you.
public ActionResult test() {
PdfResult pdf1 = new PdfResult();
var context = ControllerContext;
MemoryStream asPdf = pdf1.ExecuteResult(context);
//other lines
return View();
}
Metadata
Metadata
Assignees
Labels
No labels