How do you render a view as a string from a controller in MVC 2?
In MVC 1, I used CaptureActionHtml. I'm having the same problem with it as a similar question, but is there a way to do this without Rhink.Mocks?
How do you render a view as a string from a controller in MVC 2?
In MVC 1, I used CaptureActionHtml. I'm having the same problem with it as a similar question, but is there a way to do this without Rhink.Mocks?
I found something that works from a comment by Bobasoft at http://www.brightmix.com/blog/renderpartial-to-string-in-asp-net-mvc/ linking to http://msug.vn.ua/blogs/bobasoft/archive/2010/01/07/render-partialview-to-string-asp-net-mvc.aspx.