You are here: Ektron Namespace > Server Controls API > Ektron.Cms Namespace > Ektron.Cms.Controls Namespace > Classes > Directory Class
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Directory Class

The Directory server control lets you customize the behavior of the Taxonomy feature. You place this control on any Web form to display a taxonomy.

C#
[DefaultProperty("Text"), ToolboxData("<{0}:Directory runat=server></{0}:Directory>")]
public class Directory : EkXsltBase, IEnumerator, IEnumerable, IListSource, IDataSource, ICallbackEventHandler;
Visual Basic
<DefaultProperty("Text"), ToolboxData("<{0}:Directory runat=server></{0}:Directory>")>
Public Class Directory
Inherits EkXsltBase
Inherits IEnumerator
Inherits IEnumerable
Inherits IListSource
Inherits IDataSource
Inherits ICallbackEventHandler

Taxonomy.cs

Name 
Description 
The methods of the Directory class are listed here. 
The properties of the Directory class are listed here. 
 
Name 
Description 
 
Copies all the elements of the current System.Data.InternalDataCollectionBase to a one-dimensional System.Array, starting at the specified System.Data.InternalDataCollectionBase index.  
 
Fill 
Populates the data for the Taxonomy.  
 
Gets a System.Collections.IEnumerator for the Taxonomy.  
 
Gets the view data using dataset  
 
gets the view names  
 
Move to next index.  
 
Resets the index.  
 
this 
Returns the current ContentItem.ContentRow.  
 
Overrides the system ToString function.  
 
Wrap 
Wrap the Html toolbar.  
 
Name 
Description 
 
Sets the amount of time the server control’s data is cached. The default is 0 (zero). This is the amount of time, in seconds, a control’s data is cached. For example, if you want to cache the data for five minutes, you set the CacheInterval property to 300 (three hundred).  
 
Indicates the number of elements in your Taxonomy.  
 
Gets the current index.  
 
The Xslt to use to render the control (optional).  
 
Gets or Sets the QueryString parameter to read a Taxonomy ID dynamically. Set to String.Empty if you wish to always display the default Taxonomy ID (static.)  
 
Returns the array of ContentBase.  
 
Set to true to enable Ajax searches. When enabled, the MaxResults property determines the maximum number of results per page.
  • True = Enable Ajax Search (default value)
  • False = Original HTML Search
 
 
This property, in conjunction with the MaxResults property, lets site visitors view an unlimited number of taxonomy items while controlling the amount of screen space. To accomplish this, the taxonomy display is limited to the number set in the MaxResults property.  
 
Set to true if you want a search box (shown below) to appear above this taxonomy display.  
 
The ID of the folder you wish to select data from. Root is 0.  
 
Gets a value indicating whether the System.Data.InternalDataCollectionBase is synchronized.  
 
Defines the way a link acts when it is clicked. The choices are:
  • _blank = loads the link in a new blank window. This window is not named.
  • _self = loads the link in the same window the anchor was clicked in. This is useful for overriding a globally assigned base target.
  • _parent = loads the link in the immediate frameset parent of the document. This defaults to acting like “_self” if the document has no parent.
  • _top = loads the link in the full body of the window. This defaults to acting like “_self” if the document is already... more 
 
Enter name of a markup file that manages the display of this server control.  
 
Maximum number of results to be returned. If set to zero, there is no limit.  
 
Determines if subfolders of the selected folders should be brought into the list.  
 
Check show all category checkbox.  
 
Indicates if the number of taxonomy items appears next to each category when displayed in the Web site. The default is: False  
 
Gets an object that can be used to synchronize the Taxonomy.  
 
Enter the number of columns in which this taxonomy/category will appear on the page.  
 
Enter the number of taxonomy levels to appear below each taxonomy/category. For example, if the taxonomy is Businesses > Restaurants > Pizza and you set TaxonomyDepth to 2, only Business and Restaurants appears.
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.
A depth greater than 1 is only useful if you create a custom output using the Taxonomy’s XML.  
 
Returns taxonomy's description.  
 
Enter the ID number of the taxonomy or category to appear in this server control. Root is 0.  
 
Enter the number of columns in which this taxonomy/category items(articles) will appear on the page.  
 
Returns taxonomy's path.  
 
Returns the Taxonomy's title.  
 
Returns taxonomy's data.  
 
Returns taxonomy's XML. (includes subcategory and items)  
 
Returns the XML object loaded for Taxonomy.  
Copyright (c) 2007. All rights reserved.
What do you think about this topic? Send feedback!