C# Class RockWeb.Blocks.Cms.MarketingCampaignDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Show file Open project: CentralAZ/Rockit-CentralAZ

Private Properties

Property Type Description
BindMarketingCampaignAudiencesGrid void
LoadCampusPicker void
LoadDropDowns void
SetEditMode void
ShowEditDetails void
ShowReadonlyDetails void
gMarketingCampaignAudiencesAdd void

Public Methods

Method Description
GetBreadCrumbs ( PageReference pageReference ) : List

Returns breadcrumbs specific to the block that should be added to navigation

ShowDetail ( string itemKey, int itemKeyValue ) : void

Shows the detail.

Protected Methods

Method Description
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.

btnAddMarketingCampaignAudience_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnAddMarketingCampaignAudience control.

btnCancelAddMarketingCampaignAudience_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancelAddMarketingCampaignAudience control.

btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancel 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.

gMarketingCampaignAudiencesPrimary_Add ( object sender, EventArgs e ) : void

Handles the Add event of the gMarketingCampaignAudiencesPrimary control.

gMarketingCampaignAudiencesSecondary_Add ( object sender, EventArgs e ) : void

Handles the Add event of the gMarketingCampaignAudiencesSecondary control.

gMarketingCampaignAudiences_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the gMarketingCampaignAudiences control.

gMarketingCampaignAudiences_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gMarketingCampaignAudiences control.

ppContactPerson_SelectPerson ( object sender, EventArgs e ) : void

Handles the SelectPerson event of the ppContactPerson control.

Private Methods

Method Description
BindMarketingCampaignAudiencesGrid ( ) : void

Binds the marketing campaign audiences grid.

LoadCampusPicker ( ) : void

Loads the campus picker.

LoadDropDowns ( ) : void

Loads the drop downs.

SetEditMode ( bool editable ) : void

Sets the edit mode.

ShowEditDetails ( MarketingCampaign marketingCampaign ) : void

Shows the edit details.

ShowReadonlyDetails ( MarketingCampaign marketingCampaign ) : void

Shows the readonly details.

gMarketingCampaignAudiencesAdd ( bool primaryAudience ) : void

Gs the marketing campaign audiences add.

Method Details

GetBreadCrumbs() public method

Returns breadcrumbs specific to the block that should be added to navigation
public GetBreadCrumbs ( PageReference pageReference ) : List
pageReference PageReference The page reference.
return List

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 ( string itemKey, int itemKeyValue ) : void
itemKey string The item key.
itemKeyValue int The item key value.
return void

btnAddMarketingCampaignAudience_Click() protected method

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

btnCancelAddMarketingCampaignAudience_Click() protected method

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

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

gMarketingCampaignAudiencesPrimary_Add() protected method

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

gMarketingCampaignAudiencesSecondary_Add() protected method

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

gMarketingCampaignAudiences_Delete() protected method

Handles the Delete event of the gMarketingCampaignAudiences control.
protected gMarketingCampaignAudiences_Delete ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e Rock.Web.UI.Controls.RowEventArgs The instance containing the event data.
return void

gMarketingCampaignAudiences_GridRebind() protected method

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

ppContactPerson_SelectPerson() protected method

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