AspNet MVC ViewData Error: InvalidOperationException: There is no ViewData item of type 'IEnumerable<SelectListItem>' that has key 'Type'

Question: How do you resolve the error: InvalidOperationException: There is no ViewData item of type 'IEnumerable<SelectListItem>' that has key 'Type' in MVC asp.net 6 View?

 

 


Edit this Article
InvalidOperationException: There is no ViewData item of type 'IEnumerable<SelectListItem>' that has key 'Type' Questions published
Was this page helpful?
Yes Yes! this solution to the problem was helpful. No No! this solution to the problem was not helpful.. Leave ErnesTech Feedback.Feedback
If you log in, you will be notified when someone leaves a comment.

Other users would like to know if this solution helped you.

Your Session is Ending
Login to Continue

© 2021 - ErnesTech - Privacy