You are here: Ektron Namespace > Server Controls API > Ektron.Cms Namespace > Ektron.Cms.Controls Namespace > Classes > ProductList Class > ProductList Properties > TaxonomyDepth
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
ProductList.TaxonomyDepth Property

Enter the number of taxonomy levels to retrieve below each taxonomy/category. Only the top level is displayed in the control. The rest of the levels are available through XML in code behind. For example, if the taxonomy is DVDs > Movies > Comedies , and you set Taxonomy Depth to 2, only DVDs and Movie are available in code behind. To retrieve the all of the categories for a taxonomy recursively, enter -1. A depth greater than 1 or using -1 is only useful if you create a custom output using the Taxonomy’s XML. The default value is 1.  

Important! - For a live site, Ektron strongly recommends leaving this value at 1. Increasing this value can slow down your live Web server. However, for testing on a staging server, you can increase the depth.  

C#
[Category("Ektron")]
[TypeConverter(typeof(int))]
[Description("Enter the number of taxonomy levels to retrieve below each taxonomy/category. Only the top level is displayed in the control. The rest of the levels are available through XML in code behind.")]
[DefaultValue(0)]
public int TaxonomyDepth;
Visual Basic
<Category("Ektron")>
<TypeConverter(typeof(int))>
<Description("Enter the number of taxonomy levels to retrieve below each taxonomy/category. Only the top level is displayed in the control. The rest of the levels are available through XML in code behind.")>
<DefaultValue(0)>
Public Property TaxonomyDepth() As Integer
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!