我按照这个link在webform上混合使用mvc。 我加的参考:在webform上混合mvc
- System.Web.Routing
- System.Web.Abstractions
- System.Web.Mvc
和修改我的web.config按文档。
,但在Web表单Html.RenderPartial
,Html.ActionLink
没有recognize.I得到了一个错误:
'System.Web.Mvc.HtmlHelper<object>' does not contain a definition for 'RenderPartial' and no extension method 'RenderPartial' accepting a first argument of type 'System.Web.Mvc.HtmlHelper<object>' could be found (are you missing a using directive or an assembly reference?)
我可以缺少任何参考或我在错误的way.MVC是全新的我。谢谢。
我导入命名空间,但仍然有一个错误。有没有任何actionlink.I已答复的.ascx control.Any idea.Thanks。 –