C# Class RockWeb.Blocks.Cms.ContentChannelDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Afficher le fichier Open project: SparkDevNetwork/Rock

Private Properties

Свойство Type Description
AddAttributeControls void
BindChildContentChannelsGrid void
BindItemAttributesGrid void
GetContentChannel ContentChannel
HideDialog void
LoadDropdowns void
SaveAttributes void
SetEditMode void
SetHeadingInfo void
ShowDialog void
ShowDialog void
ShowReadonlyDetails void

Méthodes publiques

Méthode Description
GetBreadCrumbs ( PageReference pageReference ) : List

Gets the bread crumbs.

ShowDetail ( int contentChannelId ) : void

Shows the detail.

Méthodes protégées

Méthode Description
Block_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the control.

LoadViewState ( object savedState ) : void

Restores the view-state information from a previous user control request that was saved by the M:System.Web.UI.UserControl.SaveViewState method.

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.

SaveViewState ( ) : object

Saves any user control view-state changes that have occurred since the last page postback.

ShowEditDetails ( ContentChannel contentChannel ) : void

Shows the edit details.

ddlChannelType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlChannelType control.

ddlContentControlType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlContentControlType control.

dlgChildContentChannel_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the dlgChildContentChannel control.

dlgItemAttributes_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the dlgItemAttributes control.

gChildContentChannels_Add ( object sender, EventArgs e ) : void

Handles the Add event of the gChildContentChannels control.

gChildContentChannels_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the gChildContentChannels control.

gChildContentChannels_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gChildContentChannels control.

gItemAttributes_Add ( object sender, EventArgs e ) : void

Handles the Add event of the gItemAttributes control.

gItemAttributes_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the gItemAttributes control.

gItemAttributes_Edit ( object sender, RowEventArgs e ) : void

Handles the Edit event of the gItemAttributes control.

gItemAttributes_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gItemAttributes control.

gItemAttributes_GridReorder ( object sender, Rock.Web.UI.Controls.GridReorderEventArgs e ) : void

Handles the GridReorder event of the gItemAttributes control.

gItemAttributes_ShowEdit ( System.Guid attributeGuid ) : void

Gs the marketing campaign ad attribute type_ show edit.

lbCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbCancel control.

lbEdit_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbEdit control.

lbSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbSave control.

Private Methods

Méthode Description
AddAttributeControls ( ContentChannel contentChannel ) : void

Adds the attribute controls.

BindChildContentChannelsGrid ( ) : void

Binds the child content channels grid.

BindItemAttributesGrid ( ) : void

Binds the marketing campaign ad attribute type grid.

GetContentChannel ( int contentChannelId, RockContext rockContext = null ) : ContentChannel

Gets the type of the content.

HideDialog ( ) : void

Hides the dialog.

LoadDropdowns ( ) : void

Loads the dropdowns.

SaveAttributes ( int channelId, int entityTypeId, List attributes, RockContext rockContext ) : void

Saves the attributes.

SetEditMode ( bool editable ) : void

Sets the edit mode.

SetHeadingInfo ( ContentChannel contentChannel, string title ) : void

Sets the heading information.

ShowDialog ( bool setValues = false ) : void

Shows the dialog.

ShowDialog ( string dialog, bool setValues = false ) : void

Shows the dialog.

ShowReadonlyDetails ( ContentChannel contentChannel ) : void

Shows the readonly details.

Method Details

Block_BlockUpdated() protected méthode

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

GetBreadCrumbs() public méthode

Gets the bread crumbs.
public GetBreadCrumbs ( PageReference pageReference ) : List
pageReference PageReference The page reference.
Résultat List

LoadViewState() protected méthode

Restores the view-state information from a previous user control request that was saved by the M:System.Web.UI.UserControl.SaveViewState method.
protected LoadViewState ( object savedState ) : void
savedState object An that represents the user control state to be restored.
Résultat void

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

SaveViewState() protected méthode

Saves any user control view-state changes that have occurred since the last page postback.
protected SaveViewState ( ) : object
Résultat object

ShowDetail() public méthode

Shows the detail.
public ShowDetail ( int contentChannelId ) : void
contentChannelId int The marketing campaign ad type identifier.
Résultat void

ShowEditDetails() protected méthode

Shows the edit details.
protected ShowEditDetails ( ContentChannel contentChannel ) : void
contentChannel ContentChannel Type of the content.
Résultat void

ddlChannelType_SelectedIndexChanged() protected méthode

Handles the SelectedIndexChanged event of the ddlChannelType control.
protected ddlChannelType_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

ddlContentControlType_SelectedIndexChanged() protected méthode

Handles the SelectedIndexChanged event of the ddlContentControlType control.
protected ddlContentControlType_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

dlgChildContentChannel_SaveClick() protected méthode

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

dlgItemAttributes_SaveClick() protected méthode

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

gChildContentChannels_Add() protected méthode

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

gChildContentChannels_Delete() protected méthode

Handles the Delete event of the gChildContentChannels control.
protected gChildContentChannels_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.
Résultat void

gChildContentChannels_GridRebind() protected méthode

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

gItemAttributes_Add() protected méthode

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

gItemAttributes_Delete() protected méthode

Handles the Delete event of the gItemAttributes control.
protected gItemAttributes_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.
Résultat void

gItemAttributes_Edit() protected méthode

Handles the Edit event of the gItemAttributes control.
protected gItemAttributes_Edit ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e Rock.Web.UI.Controls.RowEventArgs The instance containing the event data.
Résultat void

gItemAttributes_GridRebind() protected méthode

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

gItemAttributes_GridReorder() protected méthode

Handles the GridReorder event of the gItemAttributes control.
protected gItemAttributes_GridReorder ( object sender, Rock.Web.UI.Controls.GridReorderEventArgs e ) : void
sender object The source of the event.
e Rock.Web.UI.Controls.GridReorderEventArgs The instance containing the event data.
Résultat void

gItemAttributes_ShowEdit() protected méthode

Gs the marketing campaign ad attribute type_ show edit.
protected gItemAttributes_ShowEdit ( System.Guid attributeGuid ) : void
attributeGuid System.Guid
Résultat void

lbCancel_Click() protected méthode

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

lbEdit_Click() protected méthode

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

lbSave_Click() protected méthode

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