ASP.NET MVC Render View to String

Posted by Ben on Stack Overflow See other posts from Stack Overflow or by Ben
Published on 2010-03-18T13:41:23Z Indexed on 2010/03/18 18:31 UTC
Read the original article Hit count: 552

Filed under:

I'm currently using NVelocity to render some email templates.

I'm curious how I can do this with the standard ASP.NET MVC view engine i.e. render a view as a string.

Basically I want to pass get the string result of a model binded view and pass this to iTextSharp to generate a PDF.

Thanks. Ben

© Stack Overflow or respective owner

Related posts about asp.net-mvc