I have a crud page that has a grid table. When I open the page, it immediately has an error:
System.Linq.Dynamic.Core.Exceptions.ParseException: 'Enum type 'i.Name' not found'
The error comes from this method:
public async Task<IQueryable<Kiosk>> GetKiosks(Query query = null)
{
var items = Context.Kiosks.AsQueryable();
if (query != null)
{
if (!string.IsNullOrEmpty(query.Expand))
{
var propertiesToExpand = query.Expand.Split(',');
items = propertiesToExpand.Aggregate(items, (current, p) => current.Include(p.Trim()));
}
// ERROR INSIDE THE IF STATEMENT
if (!string.IsNullOrEmpty(query.Filter))
items = query.FilterParameters != null
? items.Where(query.Filter, query.FilterParameters)
: items.Where(query.Filter);
if (!string.IsNullOrEmpty(query.OrderBy)) items = items.OrderBy(query.OrderBy);
if (query.Skip.HasValue) items = items.Skip(query.Skip.Value);
if (query.Top.HasValue) items = items.Take(query.Top.Value);
}
return await Task.FromResult(items);
}
I'm not sure what I have to do to fix this issue. I'm new to Radzen.
If you need more information, pls let me know.









