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 
 
Set or Get and Folder Id where new items will be added.  
 
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.  
 
Determines whether or not to display an icon next to your navigation lists.  
 
Gets a value indicating whether the System.Data.InternalDataCollectionBase is synchronized.  
 
Specify the sort order of results. Choices are:
  • taxonomy_item _display_order - the order of taxonomy items as set in the Workarea. For additional information, see the CMS400.NET Administrator section “Taxonomy” > “Additional Taxonomy/Category Tasks” > “Change Order of Content Assigned to a Taxonomy/Category”
  • content_title - the content is listed in alphabetical order by title.
  • date_created - content is listed in the order by which it was created.
  • last_edit_date - content is listed in order by its last edit date.
 
 
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.  
 
When set to True a checkmark appears by default in the show all check box. This check box shows all categories even when they have no content assigned to them. The show all check box is available when a user is logged in.  
 
Indicates if the number of taxonomy items appears next to each category when displayed in the Web site. The default is: False  
 
Determines whether or not to show the actual root name instead of top  
 
Set the direction of the output  
 
Suppresses the output of span/div tags around the control. As of release 7.5.2, this property is hidden by default. This property is set to false because Ajax uses <div> tags to rewrite the region around the tag. You cannot change the value to True.  
 
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 appear.
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.  
 
get or set the dynamic parameter value when dynamic param cannot be passed as url query string.  
 
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.  
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!