New answers tagged


I believe that you used backslash characters ** in Path field of your layout. You should use forward slash characters instead /. So your path field should be /Views/Layouts/Website/Default.cshtml:


I recently implemented this type of requirement in Commerce and same can be used here also. Use the first predicate to get UK results query1 = query.Where(i => i.region_names.Contains("UK")); var results = query1.GetResults(); Use the second predicate to get non UK results query2 = query.Where(i => !i.region_names.Contains("UK")); ...

Top 50 recent answers are included