我已经开始使用T4MVC了,我正在尝试弄清楚如何在PartialViews中使用T4MVC。我目前有
@Html.Partial("LocationGrid", Model.Locations)我想用
@Html.Partial(MVC.Client.Views.LocationGrid, Model.Location)但是MVC.Client.Views.LocationGrid返回完整路径,而不是名称
发布于 2011-10-20 00:44:20
即使它返回完整路径,它也可以很好地工作,因为MVC被设计为可以处理这两种情况。
https://stackoverflow.com/questions/7824110
复制相似问题