I have this foreach function, but I need to add a where clause.

I have added a checkboxlist in Umbraco called "show" Values if this is


Let us say I have checked EN and SP.

I only want a slide to be visible if the slide is Visible as now, and if the field show are "EN" is checked and true. How can i add this in my code?

@foreach (var Slider in Umbraco.ContentSingleAtXPath("//HomePage/SliderArea").Children.Where("Visible").OrderBy("CreateDate

Related posts

Recent Viewed