Accessing viewPath property for WrappedView when using MVC WebFormView


#1

I checked the source code for WrappedView and the method only supports Razor View Engine.

/// <summary> 
/// Gets the wrapped view path. 
/// </summary> 
public string ViewPath 
{ 
    get 
    { 
        var view = _wrapped as RazorView; 
        return view != null ? view.ViewPath : null; 
    } 
} 

I have a MVC proyect using WebForm View Engine and I need to access ViewPath.

What can I do?