C# Класс RockWeb.Blocks.Utility.CkEditorFileBrowser

Наследование: Rock.Web.UI.RockBlock
Показать файл Открыть проект

Защищенные методы

Метод Описание
DeleteFile ( string relativeFilePath ) : void

Deletes the file.

DirectoryNode ( string directoryPath, string physicalRootFolder ) : string

Builds a Directory treenode.

ListFolderContents ( string relativeFolderPath ) : void

Lists the folder contents.

OnInit ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Init event.

OnLoad ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Load event.

getSelectedFileResult ( string relativeFilePath ) : string

Files the selected.

lbCreateFolder_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbCreateFolder control.

lbDeleteFolder_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbDeleteFolder control.

lbRefresh_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbRefresh control.

lbRenameFolder_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbRenameFolder control.

mdCreateFolder_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the mdCreateFolder control.

mdRenameFolder_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the mdRenameFolder control.

Приватные методы

Метод Описание
BuildFolderTreeView ( ) : void

Initializes the tree views.

GetRootFolderPath ( ) : string

Gets the root folder path.

GetSelectedPhysicalFolder ( ) : string

Gets the selected physical folder.

IsValidFolderName ( string renameFolderName ) : bool

Determines whether [is valid folder name] [the specified rename folder name].

ShowErrorMessage ( Exception ex, string friendlyMessage ) : void

Shows the error message.

Описание методов

DeleteFile() защищенный Метод

Deletes the file.
protected DeleteFile ( string relativeFilePath ) : void
relativeFilePath string The relative file path.
Результат void

DirectoryNode() защищенный Метод

Builds a Directory treenode.
protected DirectoryNode ( string directoryPath, string physicalRootFolder ) : string
directoryPath string The directory path.
physicalRootFolder string The physical root folder.
Результат string

ListFolderContents() защищенный Метод

Lists the folder contents.
protected ListFolderContents ( string relativeFolderPath ) : void
relativeFolderPath string The folder path.
Результат void

OnInit() защищенный Метод

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Результат void

OnLoad() защищенный Метод

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Результат void

getSelectedFileResult() защищенный Метод

Files the selected.
protected getSelectedFileResult ( string relativeFilePath ) : string
relativeFilePath string The relative file path.
Результат string

lbCreateFolder_Click() защищенный Метод

Handles the Click event of the lbCreateFolder control.
protected lbCreateFolder_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

lbDeleteFolder_Click() защищенный Метод

Handles the Click event of the lbDeleteFolder control.
protected lbDeleteFolder_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

lbRefresh_Click() защищенный Метод

Handles the Click event of the lbRefresh control.
protected lbRefresh_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

lbRenameFolder_Click() защищенный Метод

Handles the Click event of the lbRenameFolder control.
protected lbRenameFolder_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

mdCreateFolder_SaveClick() защищенный Метод

Handles the SaveClick event of the mdCreateFolder control.
protected mdCreateFolder_SaveClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

mdRenameFolder_SaveClick() защищенный Метод

Handles the SaveClick event of the mdRenameFolder control.
protected mdRenameFolder_SaveClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void