C# Class RockWeb.Blocks.Core.BinaryFileDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Datei anzeigen Open project: NewSpring/Rock

Public Methods

Method Description
ShowBinaryFileDetail ( BinaryFile binaryFile ) : void

Shows the detail.

ShowDetail ( int binaryFileId ) : void

Shows the edit.

ShowDetail ( int binaryFileId, int binaryFileTypeId ) : void

Shows the detail.

Protected Methods

Method Description
OnInit ( EventArgs e ) : void
OnLoad ( EventArgs e ) : void

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

btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancel control.

btnEditLabelContents_Click ( object sender, EventArgs e ) : void
btnRerunWorkflow_Click ( object sender, EventArgs e ) : void
btnSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSave control.

fsFile_FileUploaded ( object sender, EventArgs e ) : void

Handles the FileUploaded event of the fsFile control.

Private Methods

Method Description
LaunchFileUploadWorkflow ( BinaryFile binaryFile, BinaryFileService binaryFileService ) : void

Launches the file upload workflow.

Method Details

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void

OnLoad() protected method

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

ShowBinaryFileDetail() public method

Shows the detail.
public ShowBinaryFileDetail ( BinaryFile binaryFile ) : void
binaryFile BinaryFile The binary file.
return void

ShowDetail() public method

Shows the edit.
public ShowDetail ( int binaryFileId ) : void
binaryFileId int The binary file identifier.
return void

ShowDetail() public method

Shows the detail.
public ShowDetail ( int binaryFileId, int binaryFileTypeId ) : void
binaryFileId int The binary file identifier.
binaryFileTypeId int The binary file type id.
return void

btnCancel_Click() protected method

Handles the Click event of the btnCancel control.
protected btnCancel_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

btnEditLabelContents_Click() protected method

protected btnEditLabelContents_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btnRerunWorkflow_Click() protected method

protected btnRerunWorkflow_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btnSave_Click() protected method

Handles the Click event of the btnSave control.
protected btnSave_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

fsFile_FileUploaded() protected method

Handles the FileUploaded event of the fsFile control.
protected fsFile_FileUploaded ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void