【发布时间】:2012-09-28 14:37:27
【问题描述】:
Sitecore 似乎不喜欢使用 Html.RenderPartial。如果我尝试渲染部分视图而不是使用 Sitecore 占位符,我会得到错误:
c:\Sitecore\milwaukeetool\Website\Views\Products\Index.cshtml(13): 错误 CS1502: 最佳重载方法匹配 'System.Web.WebPages.WebPageExecutingBase.Write(System.Web.WebPages.HelperResult )' 有一些无效的参数
有没有人在 Sitecore 6.6 中成功执行过 RenderPartial?
【问题讨论】: