Thank you for using our services.
Here's how to create a sub-category category widget:
1. First we add a class file to our Sitefinity project and name it CustomTaxonomyControl. Our class inherits from TaxonomyControl. The TaxonomyControl has several modes in which it renders taxonomies - HorizontalList, VerticalList and Cloud. Each one of the options is represented by a Repeater on the front-end. We override InitializeControls method of TaxonomyControl and subscribe to the TaxaRepeater ItemDataBound event. TaxaRepeater is the repeater, which renders our taxonomies. Then we can the base implementation of InitializeControls:
Hi, I'm trying to put this to work.
I got the control registered and I can add it to a page.
When I add the parent ParentCategory all the categories disappear. No errors, in the code only the ul gets printed.
I'm sure the id of the ParentCategory is correct, what am I missing?