C# Class RockWeb.Blocks.Core.MergeTemplateEntry

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

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.

ShowMergeForEntitySetId ( int entitySetId ) : void

Shows the merge for entity set identifier.

btnMerge_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnMerge control.

btnShowDataPreview_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnShowDataPreview control.

btnShowMergeFieldsHelp_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnShowMergeFieldsHelp control.

mtPicker_SelectItem ( object sender, EventArgs e ) : void

Handles the SelectItem event of the mtPicker control.

Private Methods

Method Description
GetMergeObjectList ( RockContext rockContext, int fetchCount = null ) : List

Gets the merge object list for the current EntitySet

GetMergeTemplateType ( RockContext rockContext, MergeTemplate mergeTemplate ) : MergeTemplateType

Gets the type of the merge template.

ShowLavaHelp ( ) : void

Shows the lava help.

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

ShowMergeForEntitySetId() protected method

Shows the merge for entity set identifier.
protected ShowMergeForEntitySetId ( int entitySetId ) : void
entitySetId int The entity set identifier.
return void

btnMerge_Click() protected method

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

btnShowDataPreview_Click() protected method

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

btnShowMergeFieldsHelp_Click() protected method

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

mtPicker_SelectItem() protected method

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