开发者

ASP.Net MVC 2 Error Method not found: 'System .string

开发者 https://www.devze.com 2022-12-27 21:10 出处:网络
I converted my website from asp.net mvc 1.0 to 2.0. After converting that i am getting the following error in actionlink

I converted my website from asp.net mvc 1.0 to 2.0. After converting that i am getting the following error in actionlink

Method not found: 'System.String System.Web.Mvc.Html.LinkExtensions.RouteLink(System.Web.Mvc.HtmlHelper, System.String, System.Web.Routing.RouteValueDictionary, System.Collections.Generic.IDictionary`2<System.String,System.Object>)'.

Line 102:                    <%var Signin = Html.Resource("globalResources, Signin"); %>
Line 103:                    <% if (string.IsNullOrEmpty(Signin)) Signin = "Signin"; %>
Line 开发者_如何学JAVA104:                    <%= Html.ActionLink<AccountController>(cntrl => cntrl.LogOn(), Signin.ToString(), new { @class = "defaultmaster" })%>
Line 105:                    |
Line 106:                    <%var register = Html.Resource("globalResources, Register"); %>


Source File: e:\Muchsocial\Sourcecode\Muchsocial\Views\Shared\Muchsocial.Master    Line: 104 


Are you using MvcFutures from version 1.0 still? You might want to upgrade and use MvcFutures from 2.0.

0

精彩评论

暂无评论...
验证码 换一张
取 消