Click or drag to resize
FileBrowserContentProvider Class
Provides storage independent mechanism for uploading files and populating the content of the FileBrowser dialog controls.
Inheritance Hierarchy
SystemObject
  Kettic.AspNet.Controls.WidgetsFileBrowserContentProvider
    Kettic.AspNet.Controls.WidgetsFileSystemContentProvider

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 abstract class FileBrowserContentProvider

The FileBrowserContentProvider type exposes the following members.

Methods
  NameDescription
Public methodCheckDeletePermissions
Checks if the current configuration allows deleting from the specified folder
Public methodCheckWritePermissions
Checks if the current configuration allows writing (uploading) to the specified folder
Public methodCopyDirectory
Copies a directory from a one virtual path to a new one
Public methodCopyFile
Copies a file from a one virtual path to a new one.
Public methodCreateDirectory
Creates a directory item in the given path with the given name.
Public methodDeleteDirectory
Deletes the directory item with the given virtual path.
Public methodDeleteFile
Deletes the file item with the given virtual path.
Public methodGetFile
Gets a read only Stream for accessing the file item with the given url.
Public methodGetFileName
Get the name of the file with the given url.
Public methodGetPath
Gets the virtual path of the item with the given url.
Public methodMoveDirectory
Moves a directory from a one virtual path to a new one. This method can also be used for renaming items.
Public methodMoveFile
Moves a file from a one virtual path to a new one. This method can also be used for renaming items.
Public methodStatic memberRemoveProtocolNameAndServerName
Removes the protocol and the server names from the given url.
Public methodResolveDirectory
Resolves a directory with the given path.
Public methodResolveRootDirectoryAsList Obsolete.
Resolves a root directory with the given path in list mode.
Public methodResolveRootDirectoryAsTree
Resolves a root directory with the given path in tree mode.
Public methodResolveViewPaths
Public methodStoreBitmap
Stores an image with the given url and image format.
Public methodStoreFile(HttpPostedFile, String, String, String) Obsolete.
Creates a file item from a HttpPostedFile to the given path with the given name.
Public methodStoreFile(UploadedFile, String, String, String)
Creates a file item from a Kettic.AspNet.Controls.UploadedFile in the given path with the given name.
Top
Properties
  NameDescription
Public propertyCanCreateDirectory
Gets a value indicating whether the ContentProvider can create directory items or not. The visibility of the Create New Directory icon is controlled by the value of this property.
Public propertyDisplayMode Obsolete.
The current display mode of the content provider. Can be FileBrowserDisplayMode.Tree or FileBrowserDisplayMode.List. The value of this property is set by the FileBrowser control.
Public propertyPathSeparator
The character, used to separate parts of the virtual path (e.g. '/' is the path separator in /path1/path2/file)
Top
See Also