The DbNetFile is used to create a web-based interface to the file system. DbNetFile can also additonally be interfaced with Windows Indexing Service and Windows Search
to create enhanced search functionality such as content searching
| C# | Visual Basic |
public class DbNetFile : Shared, INamingContainer
Public Class DbNetFile _ Inherits Shared _ Implements INamingContainer
| All Members | Constructors | Methods | Properties | Events | |
| Icon | Member | Description |
|---|---|---|
| DbNetFile()()() | Initializes a new instance of the DbNetFile class | |
| BeforeFileAccessed |
This event can be used to provide some custom filtering on the accessing of a file.
Returning false from the event handler will prevent the file from being accessed.
| |
| BeforeFileDeleted |
This event can be used to validate the deletion of a file or folder
Returning false from the event handler will prevent the file from being deleted.
| |
| BeforeFileListed |
This event can be used to provide some custom filtering on the listing of a file.
Returning false from the event handler will prevent the file from being listed.
| |
| BrowseMode |
Specifies the mechanism used to browse the file system
| |
| Columns |
Collection of Column definitions that control file information presented by DbNetFile
| |
| ConfigValue(String) | (Inherited from Shared.) | |
| CreateFolder |
If set will attempt to create the RootFolder if it does not already exist
| |
| CustomMimeTypes |
Collection of custom Mime Type defintions than can be used to control the may a document type can be displayed
| |
| Delete |
Assigns a delete capability to the control by adding a button to the toolbar
| |
| DisplayStyle |
Controls the style in which the file system information is presented
| |
| FileCellDataBind |
This event can be used to customise the binding of a file/folder to a grid cell
| |
| FileRowDataBind |
This event can be used to customise the creation of a grid row
| |
| FileSelectionAction |
Controls the action taken when a selectable file link is clicked
| |
| FolderPath |
Specifies where the folder path information is to be displayed
| |
| GetCallbackResult()()() | (Inherited from Shared.) | |
| GetScriptDescriptors()()() | (Overrides Shared.GetScriptDescriptors()()().) | |
| GetScriptReferences()()() | (Overrides Shared.GetScriptReferences()()().) | |
| HeaderRow |
Controls the presence of a header row in the grid
| |
| Height |
Specifies the height of a Tree style display
| |
| IndexingServiceCatalog |
Specifies the name of the Indexing Service catalog
| |
| LinkedDbNetFileID |
Specifies the ID of a linked instance of DbNetFile that will display files from the folder selected in the parent control
| |
| LoadPostData(String, NameValueCollection) | (Inherited from Shared.) | |
| MaxSearchMatches |
Specifies the name of the maximum number number of matches returned in a search. Defaults to 100.
| |
| NewFolder |
Assigns the ability to create a new folder to the control by adding a button to the toolbar
| |
| OrderBy |
Specifies the initial order in which files are displayed.
| |
| OrderBySequence |
Specifies the initial order sequence in which files are displayed.
| |
| PageSize |
Specifies the name of the number of rows in a grid style display
| |
| PreviewDialogHeight |
Specifies the initial height of the Preview Dialog
| |
| PreviewDialogWidth |
Specifies the initial width of the Preview Dialog
| |
| RaiseCallbackEvent(String) | (Inherited from Shared.) | |
| RaisePostDataChangedEvent()()() | (Inherited from Shared.) | |
| RootFolder |
Specifies the Root folder for the control
| |
| RootFolderAlias |
Specifies the display name for the root folder
| |
| Search |
Assigns a search capability to the control by adding a button to the toolbar
| |
| SearchMode |
Specifies the mechanism used to search the file system
| |
| SelectableFileTypes |
Specifies a comma separated list of file extensions that can be selected
| |
| SelectionMode |
Limits selected records to files only, folders only or both
| |
| SetCulture(String) | (Inherited from Shared.) | |
| SetCultureFromUserLanguage()()() | (Inherited from Shared.) | |
| ThumbnailHeight |
Specifies the height of thumbnail in pixels (width is automatically adjusted to keep image in proportion)
| |
| ThumbnailPercent |
Specifies the size of thumbnail to be displayed as a percentage of the original
| |
| ThumbnailWidth |
Specifies the width of thumbnail in pixels (height is automatically adjusted to keep image in proportion)
| |
| Toolbar |
Specifies if the toolbar is to be displayed
| |
| TreeNodeFileDataBind |
This event can be used to customise the binding of a file/folder to a treeview node
| |
| TreeViewCreated |
This event can be used to provide access to the TreeView control before it is rendered
| |
| Upload |
Assigns an upload capability to the control by adding a button to the toolbar
| |
| UploadAllowOverwrite |
Specifies if an uploaded file is allowed to overwrite a file that already exists in the upload folder
with the same name
| |
| UploadFileTypes |
Specifies a comma separated list of file type extensions that can be uploaded.
| |
| UploadMaxFileSizeKb |
Specifies the maximum size in KB of a file that can be uploaded. Defaults to 10MB (10240KB).
| |
| ValidateRequest(Dictionary<(Of <(String, Object>)>)) | ||
| VisibleFileTypes |
Specifies a comma separated list of file types that are displayed.
| |
| Width |
Specifies the width of a Tree style display
| |
| WindowsSearchConnectionString |
Specifies the connection string used to connect to the Windows Search OleDb provider.
|