【发布时间】:2011-10-19 15:48:32
【问题描述】:
我已经开始使用 T4MVC,并且正在尝试弄清楚如何将 T4MVC 与 PartialViews 一起使用。 我目前有
@Html.Partial("LocationGrid", Model.Locations)
我想使用
@Html.Partial(MVC.Client.Views.LocationGrid, Model.Location)
但 MVC.Client.Views.LocationGrid 返回完整路径而不是名称
【问题讨论】:
标签: asp.net-mvc-3 mvccontrib t4mvc