I found this Sitefinity blog entry on adding a front-end filter to the news widget and was hoping to apply something similar to the image gallery. I've added a drop-down list to the Simple List template, and like in the blog, the list is populated in the IntializeControl method with the categories pulled from a custom classification:
InitializeControls(Telerik.Sitefinity.Web.UI.GenericContainer container, Telerik.Sitefinity.Web.UI.ContentUI.Contracts.IContentViewDefinition definition)
var productColorCategory = TaxonomyManager.GetManager().GetTaxonomies<FlatTaxonomy>().Where(t => t.Name ==
var productColors = productColorCategory.Taxa;
.ProductColor.DataSource = productColors;
The problem I'm running into is figuring out how to make the image gallery update. The blog entry made it look simple enough, but then I found out that the image gallery doesn't have the GetItemsList method, or any similar method.
How would I update the query to include the category?
If it helps at all, we're using Sitefinity 7.0.