Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
ViewComponent in .Net Core
Nitin Bhardwaj
7y
218
1
Reply
Hi,
I have created dynamic menu using ViewComponent. and it's working with return blank view() but if I am returning some view(Model). It's throw an error.
InvalidOperationException: The model item passed into the ViewDataDictionary is of type 'A', but this ViewDataDictionary instance requires a model item of type 'B'.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
how to integrate steam api key
How to consume webAPI and get the result