C# Class RockWeb.Blocks.Cms.MarketingCampaignAdDetail

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

Méthodes publiques

Méthode Description
ShowDetail ( string itemKey, int itemKeyValue ) : void

Shows the detail.

ShowDetail ( string itemKey, int itemKeyValue, int marketingCampaignId ) : void

Shows the detail.

Méthodes protégées

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

btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancel control.

btnSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSave control.

ddlMarketingCampaignAdType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlMarketingCampaignAdType control.

lbApprove_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbApprove control.

lbDeny_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbDeny control.

Private Methods

Méthode Description
GetAttributesForAdType ( int marketingAdTypeId ) : List

Gets the type of the attributes for ad.

LoadAdAttributes ( Rock marketingCampaignAd, bool createControls, bool setValues ) : void

Loads the attribute controls.

LoadDropDowns ( ) : void

Loads the drop downs.

SetApprovalValues ( MarketingCampaignAdStatus status, Person person ) : void

Sets the approval values.

Method Details

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

ShowDetail() public méthode

Shows the detail.
public ShowDetail ( string itemKey, int itemKeyValue ) : void
itemKey string The item key.
itemKeyValue int The item key value.
Résultat void

ShowDetail() public méthode

Shows the detail.
public ShowDetail ( string itemKey, int itemKeyValue, int marketingCampaignId ) : void
itemKey string The item key.
itemKeyValue int The item key value.
marketingCampaignId int The marketing campaign id.
Résultat void

btnCancel_Click() protected méthode

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

btnSave_Click() protected méthode

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

ddlMarketingCampaignAdType_SelectedIndexChanged() protected méthode

Handles the SelectedIndexChanged event of the ddlMarketingCampaignAdType control.
protected ddlMarketingCampaignAdType_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

lbApprove_Click() protected méthode

Handles the Click event of the lbApprove control.
protected lbApprove_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

lbDeny_Click() protected méthode

Handles the Click event of the lbDeny control.
protected lbDeny_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