.NET Code Log
Tips, reminders and ideas on how to solve different code issues.
Thursday, December 6, 2018
EPiServer - Model item passed into the dictionary is of "proxy" but requires different model
Solution: Rename the View! It cannot be the same as model somehow.
Or:
From: ~/Views/Shared/Blocks/ConsultantBlock.cshtml
To: ~/Views/ConsultantBlock/index.cshtml
Similar problem:
https://world.episerver.com/forum/developer-forum/Developer-to-developer/Thread-Container/2016/8/the-model-item-passed-into-the-dictionary-but-requires-different-model/
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment