BigPipe.Helpers.RendererHelper.RenderPartialToString C# (CSharp) Method

RenderPartialToString() public static method

Renders a view to string.
public static RenderPartialToString ( this html, string viewName, object viewData ) : string
html this
viewName string
viewData object
return string
        public static string RenderPartialToString(this HtmlHelper html, string viewName, object viewData)
        {
            return RenderViewToString(html.ViewContext.Controller.ControllerContext, viewName, viewData);
        }