我已经开始使用 T4MVC 并且正在尝试弄清楚如何将 T4MVC 与 PartialViews 一起使用。我目前有
@Html.Partial("LocationGrid", Model.Locations)
我想用
@Html.Partial(MVC.Client.Views.LocationGrid, Model.Location)
但 MVC.Client.Views.LocationGrid 返回完整路径而不是名称
我已经开始使用 T4MVC 并且正在尝试弄清楚如何将 T4MVC 与 PartialViews 一起使用。我目前有
@Html.Partial("LocationGrid", Model.Locations)
我想用
@Html.Partial(MVC.Client.Views.LocationGrid, Model.Location)
但 MVC.Client.Views.LocationGrid 返回完整路径而不是名称