I have tried that.
My category name is Test and subcategories are Test1, test2, test3, test4, and test 5.
When I view by category I see number 25 on the right hand side of the category. I beleive this is the total number of items of all subcategories. Each subcategory has 5 items.
I used this code but doesn't return any items. (all items have not expired and are published) Please help.
Dim manager As ContentManager = New ContentManager
Dim filter As New List(Of Telerik.Cms.Engine.IMetaSearchInfo)()
filter.Add(New MetaSearchInfo(MetaValueTypes.ShortText, "Category", "Test"))
filter.Add(New MetaSearchInfo(MetaValueTypes.DateTime, "Expiration_Date", DateTime.Now, SearchCondition.GreaterOrEqual))
Dim listofItems As IList = manager.GetContent(0, 0, "Expiration_Date", Telerik.Cms.Engine.ContentStatus.Published, filter.ToArray())
If listofItems.Count > 0 Then