2011-07-02 3 views
4

그냥 3.0.73.0 3.0.75에 MvcContrib.Mvc3-CI에서 업데이트하고 이전 작업 일반 ViewUserControl는 런타임 예외를 던졌다 :MvcContrib.Mvc3-ci 3.0.75.0 변경이 필요합니까?

The model item passed into the dictionary is of type 'System.String', but this dictionary requires a model item of type 'MvcContrib.UI.InputBuilder.Views.PropertyViewModel`1[System.Object]'. 

은 "잘못된"편집기 모델에서 일반 문자열을 사용을 :

<%: Html.EditorFor(m => m.Model.NEV) %> 

3.0.73.0으로 되돌리고 편집기가 다시 작동합니다. 어떤 아이디어? (3.0.74.0도 작동하는 것 같습니다)

+0

투표는이 MvcContrib 포럼/문제 목록에 속하는, 너무 지역화 닫습니다. –

답변

0

동일한 오류가 발생했습니다. EditorFor 이외의 다른 것을 사용하면 잘 작동하는 것 같습니다. 그래서 어떤 HTML 편집기가 렌더링되어야하는지 알고 있다면 (예 : @Html.TextAreaFor (x => x.Model.NEV)

5

) 나는 동일한 문제를 가지고 있었고 버전 3.0으로 되돌릴 수있었습니다. 73.0

Uninstall-Package MvcContrib.Mvc3-ci -Force 
Install-Package MvcContrib.Mvc3-ci -version 3.0.73.0 
+0

내가 버전 3.0.100.0으로이 문제를 가지고 있었다 – Brian

관련 문제