Click or drag to resize
DirectoryItem Class
Represents a directory item in the FileBrowser control.
Inheritance Hierarchy
SystemObject
  Kettic.AspNet.Controls.WidgetsFileBrowserItem
    Kettic.AspNet.Controls.WidgetsDirectoryItem
      Kettic.AspNet.Controls.WidgetsFileBrowserRoot

Namespace: Kettic.AspNet.Controls.Widgets
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public class DirectoryItem : FileBrowserItem

The DirectoryItem type exposes the following members.

Constructors
Methods
  NameDescription
Public methodClearDirectories
Clears the Directories array. Can be used when building the directory list in List mode.
Public methodGetSerializedContent
Public methodSerialize
Serializes the directory item into a javascript array. This method should be overridden only when developing a custom FileBrowser control.
(Overrides FileBrowserItemSerialize(StringWriter).)
Public methodSerializeContent
Serializes the children of the directory item as a javascript array. Recursively calls the Serialize methods of all child objects.
Top
Properties
  NameDescription
Public propertyDirectories
Gets a DirectoryItem array containing all child directory items.
Public propertyFiles
Gets a FileItem array containing all child file items.
Public propertyFullPath
Gets the full virtual path to the directory item.
Public propertyLocation
Gets the virtual location of the directory item. When the item is not root, the value of this property should be string.Empty. The FileBrowser control recursively combines the names of all parent directory items in order to get the full virtual path of the item.
Public propertyPath
Gets the full virtual path to the directory item.
(Overrides FileBrowserItemPath.)
Top
See Also