C# Class RockWeb.Blocks.Utility.CkEditorFileBrowser

Inheritance: Rock.Web.UI.RockBlock
Afficher le fichier Open project: CentralAZ/Rockit-CentralAZ

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

DeleteFile() protected méthode

Deletes the file.
protected DeleteFile ( string relativeFilePath ) : void
relativeFilePath string The relative file path.
Résultat void

DirectoryNode() protected méthode

Builds a Directory treenode.
protected DirectoryNode ( string directoryPath, string physicalRootFolder ) : string
directoryPath string The directory path.
physicalRootFolder string The physical root folder.
Résultat string

ListFolderContents() protected méthode

Lists the folder contents.
protected ListFolderContents ( string relativeFolderPath ) : void
relativeFolderPath string The folder path.
Résultat void

OnInit() protected méthode

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Résultat void

OnLoad() protected méthode

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Résultat void

getSelectedFileResult() protected méthode

Files the selected.
protected getSelectedFileResult ( string relativeFilePath ) : string
relativeFilePath string The relative file path.
Résultat string

lbCreateFolder_Click() protected méthode

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.
Résultat void

lbDeleteFolder_Click() protected méthode

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.
Résultat void

lbRefresh_Click() protected méthode

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.
Résultat void

lbRenameFolder_Click() protected méthode

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.
Résultat void

mdCreateFolder_SaveClick() protected méthode

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.
Résultat void

mdRenameFolder_SaveClick() protected méthode

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.
Résultat void