Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • crisweb 18 posts 88 karma points
    10 hours ago
    crisweb
    0

    ModelBindingException

    I can't render in the partial view (cart.cshtml) coming from the controller, it always gives me the same error: An unhandled exception occurred while processing the request. ModelBindingException: Cannot bind source type Umbraco.Cms.Core.Models.ContentModel to model type Paris.Site.Views.Components.Cart.CartViewModel. Umbraco.Cms.Web.Common.ModelBinders.ContentModelBinder.ThrowModelBindingException(bool sourceContent, bool modelContent, Type sourceType, Type modelType) Any suggestion on how to solve it? Please help me, thank you.

Please Sign in or register to post replies

Write your reply to:

Draft