FileBrowserContentProvider Class |
Namespace: Kettic.AspNet.Controls.Widgets
The FileBrowserContentProvider type exposes the following members.
Name | Description | |
---|---|---|
CheckDeletePermissions |
Checks if the current configuration allows deleting from the specified folder
| |
CheckWritePermissions |
Checks if the current configuration allows writing (uploading) to the specified folder
| |
CopyDirectory |
Copies a directory from a one virtual path to a new one
| |
CopyFile |
Copies a file from a one virtual path to a new one.
| |
CreateDirectory |
Creates a directory item in the given path with the given name.
| |
DeleteDirectory |
Deletes the directory item with the given virtual path.
| |
DeleteFile |
Deletes the file item with the given virtual path.
| |
GetFile |
Gets a read only Stream for accessing the file item with the given url.
| |
GetFileName |
Get the name of the file with the given url.
| |
GetPath |
Gets the virtual path of the item with the given url.
| |
MoveDirectory |
Moves a directory from a one virtual path to a new one. This method can also be used for renaming items.
| |
MoveFile |
Moves a file from a one virtual path to a new one. This method can also be used for renaming items.
| |
RemoveProtocolNameAndServerName |
Removes the protocol and the server names from the given url.
| |
ResolveDirectory |
Resolves a directory with the given path.
| |
ResolveRootDirectoryAsList | Obsolete.
Resolves a root directory with the given path in list mode.
| |
ResolveRootDirectoryAsTree |
Resolves a root directory with the given path in tree mode.
| |
ResolveViewPaths | ||
StoreBitmap |
Stores an image with the given url and image format.
| |
StoreFile(HttpPostedFile, String, String, String) | Obsolete.
Creates a file item from a HttpPostedFile to the given path with the given name.
| |
StoreFile(UploadedFile, String, String, String) |
Creates a file item from a Kettic.AspNet.Controls.UploadedFile in the given path with the given name.
|
Name | Description | |
---|---|---|
CanCreateDirectory |
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.
| |
DisplayMode | 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.
| |
PathSeparator |
The character, used to separate parts of the virtual path (e.g. '/' is the path separator in /path1/path2/file)
|