I am trying to retrieve a list of module contents and filter on a specific field.
The code I currently have which appears to pull all the published items back looks like this.
DynamicModuleManager dynamicModuleManager = DynamicModuleManager.GetManager();
Type mclEventType = TypeResolutionService.ResolveType(
var theitems =
s => s.Status == Telerik.Sitefinity.GenericContent.Model.ContentLifecycleStatus.Live)
grdFuture.DataSource = theitems;
I think I need to add another where clause to the expression, but I can't seem to.
Any suggestions gratefully received.