TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mark Tabor
548
2k
460.3k
MVC partial View
Sep 11 2016 1:43 PM
I have a _Layout.cshtml in mvc4 web application, in this master view i am calling a partial view for menu which is strongly type , now I have created a new strongly typed partial view for service menu link I have wrote the code to get data from database , But now when i click on the service menu link i am getting the below error message
"
The model item passed into the dictionary is of type 'System.Collections.Generic.List`1[BusinessApplicationTemplate.Models.Service]', but this dictionary requires a model item of type 'System.Collections.Generic.IEnumerable`1[BusinessApplicationTemplate.Models.slider]'.
"
why it is so
Reply
Answers (
4
)
How do I make all my models objects into a DLL ?
Security during pass parameter value by ajax client side