List of Categories for a News Item
I am using the following code to get out News Items. How can I limit the get by a specific category? Or in my loop can I do an if statement to limit what category of items is displayed.
var topNews = App.WorkWith().NewsItems()
.Where(t => t.Status == ContentLifecycleStatus.Live)
.OrderByDescending(o => o.PublicationDate)
.Get()
.ToList();
Hi Alex,
Please check this post.
Greetings,
Ivan Dimitrov
the Telerik team