seems the problem is here:
string RenderView(IView view, ViewDataDictionary viewData, ControllerContext controllerContext)
{
using (var writer = new StringWriter())
{
var viewContext = new ViewContext(controllerContext, view, viewData, new TempDataDictionary(), writer);
view.Render(viewContext, writer);
return writer.GetStringBuilder().ToString();
}
}
view.Render throws a The method or operation is not implemented.
Any idea?
seems the problem is here: string RenderView(IView view, ViewDataDictionary viewData, ControllerContext controllerContext) { using (var writer = new StringWriter()) { var viewContext = new ViewContext(controllerContext, view, viewData, new TempDataDictionary(), writer); view.Render(viewContext, writer); return writer.GetStringBuilder().ToString(); } }
view.Render throws a The method or operation is not implemented. Any idea?