In a custom viewengine in the FindView
method, how can I see the Layout
used? masterName
is always empty.
ViewEngineResult FindView(ControllerContext controllerContext, string viewName, string masterName, bool useCache) {
// How do I get WebViewPage.Layout to know what layout is used?
}
FindView
method of what class? – Intussusception