I have been using the API extensively with a custom control for one of our client's websites. The purpose of this control is to mimic a filesystem to access the contents of libraries.
The client requested nested folders, and believing that the Sitefinity Images & Documents module does not support nesting libraries, I began using categories, which can be nested, to create this architecture. Currently, the control correctly displays the bottom-level categories, and then clicking each category will display its subcategories. Where I am having trouble is returning a list of library items belonging to a given category. Is there a method somewhere that I am missing which works in the following manner?
|LibraryManager lm = new LibraryManager();
|ICategory category = lm.GetCategory(catID);
|IList items = category.GetItems();
I know that it is possible to get the items of a library using the getItems method of the ILibrary class, so it seems that you should be able to get the items within a given category as well.
Thank you for your support,