C# Class RockWeb.Blocks.Core.MergeTemplateDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Exibir arquivo Open project: NewSpring/Rock

Public Methods

Method Description
ShowDetail ( int mergeTemplateId ) : void

Shows the detail.

ShowDetail ( int mergeTemplateId, int parentCategoryId ) : void

Shows the detail.

ShowEditDetails ( MergeTemplate mergeTemplate ) : void

Shows the edit details.

Protected Methods

Method Description
Block_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the control.

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.

btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancel control.

btnDelete_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnDelete control.

btnEdit_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnEdit control.

btnSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSave control.

fuTemplateBinaryFile_FileUploaded ( object sender, EventArgs e ) : void

Handles the FileUploaded event of the fuTemplateBinaryFile control.

Private Methods

Method Description
LoadDropDowns ( ) : void

Loads the drop downs.

SetEditMode ( bool editable ) : void

Sets the edit mode.

ShowReadonlyDetails ( MergeTemplate mergeTemplate ) : void

Shows the readonly details.

Method Details

Block_BlockUpdated() protected method

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

OnInit() protected method

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
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

ShowDetail() public method

Shows the detail.
public ShowDetail ( int mergeTemplateId ) : void
mergeTemplateId int The mergeTemplateId value.
return void

ShowDetail() public method

Shows the detail.
public ShowDetail ( int mergeTemplateId, int parentCategoryId ) : void
mergeTemplateId int The merge template identifier.
parentCategoryId int The parent category identifier.
return void

ShowEditDetails() public method

Shows the edit details.
public ShowEditDetails ( MergeTemplate mergeTemplate ) : void
mergeTemplate MergeTemplate The merge template.
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

btnDelete_Click() protected method

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

btnEdit_Click() protected method

Handles the Click event of the btnEdit control.
protected btnEdit_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
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

fuTemplateBinaryFile_FileUploaded() protected method

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