2010-12-12 4 views
0

これは以前はRC1で動作していましたが、RC2では動作しませんでした。どんなアイデアが間違っていますか?Html.TextboxFor(model => model.Username)はMVC3でエラーを出します。RC2

Line 97:   @Html.LabelFor(model => model.Username) 
Line 98:   @Html.TextboxFor(model => model.Username) ---> ERROR HERE 
Line 99:   @Html.ValidationMessageFor(model => model.Username) 

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: CS1061: 'System.Web.Mvc.HtmlHelper<Learning.Ajax.Models.Order>' does not contain a definition for 'TextboxFor' and no extension method 'TextboxFor' accepting a first argument of type 'System.Web.Mvc.HtmlHelper<Learning.Ajax.Models.Order>' could be found (are you missing a using directive or an assembly reference?) 

答えて

3

はいつか、私は非常に愚かな過ちを行う(資本Bで)TextBoxFor

+0

であるべき:(。おかげで – Pirzada

関連する問題