add_delete(eventHandler) |
Sets the the name of the JavaScript function called when the user tries to delete a file. |
remove_delete(eventHandler) |
Removes the function declared in the add_delete() method. |
add_createNewFolder(eventHandler) |
Sets the the name of the JavaScript function called when a new folder is created |
remove_createNewFolder(eventHandler) |
Removes the function declared in the add_createNewFolder() method. |
add_fileOpen(eventHandler) |
Sets the name of the JavaScript function called when an item is double clicked in the grid. |
remove_fileOpen(eventHandler) |
Removes the function declared in the add_fileOpen() method. |
add_folderChange(eventHandler) |
Sets the name of the JavaScript function called when the the selected folder in the tree changes. |
remove_folderChange(eventHandler) |
Removes the function declared in the add_folderChange() method. |
add_folderLoaded(eventHandler) |
Sets the name of the JavaScript function called when a folder is loaded in the grid. |
remove_folderLoaded(eventHandler) |
Removes the function declared in the add_folderLoaded() method. |
add_itemSelected(eventHandler) |
Sets the name of the JavaScript function called when the user selects an item in the explorer. |
remove_itemSelected(eventHandler) |
Removes the function declared in the add_itemSelected() method. |
add_load(eventHandler) |
Sets the name of the JavaScript function called when the control loads in the browser. |
remove_load(eventHandler) |
Removes the function declared in the add_load() method. |
add_move(eventHandler) |
Set the name of the JavaScript function called when the user tries to rename/move a file or folder. |
remove_move(eventHandler) |
Removes the function declared in the add_move() method. |
add_copy(eventHandler) |
Set the name of the JavaScript function called when the user tries to copy a file or folder. |
remove_copy(eventHandler) |
Removes the function declared in the add_copy() method. |
createNewDirectory(path, newName) |
Creates a new directory. The path parameter should be a virtual path. In case that the second parameter is not specified a radprompt dialog appears and asks for the new name. |
deleteItem(item, showConfirmDialog) |
Deletes an item (folder or file). The parameter is of type Telerik.Web.UI.FileExplorerItemType.File or Telerik.Web.UI.FileExplorerItemType.Directory The second parameter is optional and indicates whether to show the confirmation dialog or delete the file immediately. The default value is true
|
deleteItem(path, showConfirmDialog) |
Deletes an item. The parameter is the virtual path to the item; it starts with the / RootProjectFolder /PathToTheItem.The second parameter is optional and indicates whether to show the confirmation dialog or delete the file immediately. The default value is true
|
get_currentDirectory() |
Returns a string value that represents the path to the currently selected directory. The returned path is a virtual path, such as /RootProjectFolder/SelectedDir |
set_currentDirectory(value,addToStack) |
Change the currently selected directory. The first parameter is the new path, relevant to the root path of the project : /RootProjectFolder/NewPath. The second parameter accepts a Boolean value that determines whether the current change of the directory to be stored in the Previous – Next stack |
get_currentPermissions() |
Returns the permissions of the currently selected folder in the TreeView |
get_element() |
Returns a reference to the DIV that wraps RadFileExplorer . |
get_enableOpenFile() |
Returns a Boolean value that indicates whether the files can be open in the preview window. |
set_enableOpenFile() |
Accepts a Boolean value that indicates whether the files can be open in the preview window. |
getFileExplorerItemFromNode(node) |
Gets the Telerik.Web.UI.FileExplorerItem by the passed Telerik.Web.UI.RadTreeNode object |
get_fileList() |
Returns a reference to the FileList object. Returns 'null' when the FileList is not visible, i.e. only the RadTreeView is shown |
get_grid() |
Returns a reference to the RadGrid's object. |
get_listView() |
Returns a reference to the embedded RadListView object. Returns 'null' when the embedded ListView is not visible |
get_gridContextMenu() |
Returns an object of type Telerik.Web.UI.RadContextMenu . This is the context menu that appears over the RadGrid’s area. |
get_ajaxLoadingPanel() |
Returns an object of type RadAjaxLoadingPanel and then you can use its client side API and manipulate that object. |
get_windowManager() |
Returns a reference to the RadWindowManager object. You can use that object’s client-side API and attach event handlers to the newly opened windows. |
get_pathSeparator() |
Returns the symbol used as path separator |
get_allowPaging() |
Returns whether the Grid's paging is enabled |
get_addressBox() |
Returns the ID of the input that shows the currently selected folder (AddressBox). Returns an empty string when the AddressBox is not visible |
get_newFolderDefaultValue() |
Returns the default text that is shown in the CreateNewFolder dialog |
set_newFolderDefaultValue(newDefaultName) |
Sets the default folder name that will be shown in the CreateNewFolder dialog |
get_id() |
Returns the ID of the control. |
get_selectedItem() |
Returns the first selected item ( Telerik.Web.UI.FileExplorerItem ) |
get_selectedItems() |
Returns an array of the selected item on the Grid items. The items are of type Telerik.Web.UI.FileExplorerItem
|
open(item) |
Opens the item in a new RadWindow if it is a file. Else, opens the folder in the RadGrid.The parameter is optional and if not specified the current selected item will be used. |
clearFolderCache() |
Clears the cached data on the browser |
deleteSelectedItems(showConfirmDialog) |
Performs delete operation for all of the currently selected items on the Grid. showConfirmDialog - this parameter is optional and indicates whether to show the confirmation dialog or delete the files immediately. The default value is true
|
get_toolbar() |
Returns a reference to the RadToolBar object. |
get_tree() |
Returns a reference to the RadTreeView object. |
loadFolder(path,addToStack) |
Loads a new folder and sets the focus on it. The second parameter accepts a Boolean value that determines whether the current change of the directory to be stored in the Previous – Next stack |
refresh() |
Refresh the current folder. |
filter(keyWord) |
Filters the items in the currently selected directory. |
addFileNameInvalidChar(char) |
Adds additional characters to the file name invalid characters list. Default list is ['\', '/', ':', '*', '?', '"', '<', '>', ' |
removeFileNameInvalidChar(char) |
Removes items from the file name invalid characters list. Default list is ['\', '/', ':', '*', '?', '"', '<', '>', ' |