How can I fix this problem of a Smart Search in Kentico 13?

Vincent Michael asked on May 25, 2022 23:17

Here is the error message holding me ransom:

The model item passed into the dictionary is of type 'Kentico.Content.Web.Mvc.Routing.PageViewModel`1[CMS.DocumentEngine.Types.BOA.Search_result]', but this dictionary requires a model item of type 'access.Models.Search.SearchResultModel'.

See my MVC codes:

1) Model

using System.Collections.Generic; using CMS.Search;

namespace access.Models.Search { public class SearchResultModel { public string Query { get; set; } public List

   Please, sign in to be able to submit a new answer.