C# Class RockWeb.Blocks.Cms.ContentChannelItemDetail

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

Protected Properties

Свойство Type Description
ApprovedCss string
DeniedCss string
PendingCss string

Méthodes publiques

Méthode Description
GetBreadCrumbs ( PageReference pageReference ) : List

Gets the bread crumbs.

ShowDetail ( int contentItemId ) : void

Shows the detail.

ShowDetail ( int contentItemId, int contentChannelId ) : void

Méthodes protégées

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

Handles the BlockUpdated event of the control.

DisplayStatus ( ContentChannelItemStatus contentItemStatus ) : string
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.

ddlAddExistingItemChannel_SelectedIndexChanged ( object sender, EventArgs e ) : void
gChildItems_Delete ( object sender, RowEventArgs e ) : void
gChildItems_RowSelected ( object sender, RowEventArgs e ) : void
gParentItems_RowSelected ( object sender, RowEventArgs e ) : void
lbAddExistingChildItem_Click ( object sender, EventArgs e ) : void
lbAddNewChildItem_Click ( object sender, EventArgs e ) : void
lbCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbCancel control.

lbDeleteChildItem_Click ( object sender, EventArgs e ) : void
lbDelete_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbDelete control.

lbRemoveChildItem_Click ( object sender, EventArgs e ) : void
lbSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbSave control.

Private Methods

Méthode Description
BindChildItemsGrid ( ContentChannelItem contentItem ) : void
BindParentItemsGrid ( ContentChannelItem contentItem ) : void
GetChildItems ( ContentChannelItem contentItem, bool &isFiltered ) : List
GetContentItem ( RockContext rockContext = null ) : ContentChannelItem

Gets the type of the content.

GetNavHierarchy ( ) : List
GetParentItems ( ContentChannelItem contentItem ) : List
HideDialog ( ) : void

Hides the dialog.

NavigateToNewItem ( string itemId ) : void
ReturnToParentPage ( ) : void

Returns to parent page.

ShowApproval ( ContentChannelItem contentItem ) : void
ShowDialog ( bool setValues = false ) : void

Shows the dialog.

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

Shows the dialog.

gChildItems_Add ( object sender, EventArgs e ) : void
gChildItems_GridRebind ( object sender, GridRebindEventArgs e ) : void
gChildItems_GridReorder ( object sender, Rock.Web.UI.Controls.GridReorderEventArgs e ) : void
gParentItems_GridRebind ( object sender, GridRebindEventArgs e ) : void

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

DisplayStatus() protected méthode

protected DisplayStatus ( ContentChannelItemStatus contentItemStatus ) : string
contentItemStatus ContentChannelItemStatus
Résultat string

GetBreadCrumbs() public méthode

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

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 ( int contentItemId ) : void
contentItemId int The marketing campaign ad type identifier.
Résultat void

ShowDetail() public méthode

public ShowDetail ( int contentItemId, int contentChannelId ) : void
contentItemId int
contentChannelId int
Résultat void

ddlAddExistingItemChannel_SelectedIndexChanged() protected méthode

protected ddlAddExistingItemChannel_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

gChildItems_Delete() protected méthode

protected gChildItems_Delete ( object sender, RowEventArgs e ) : void
sender object
e Rock.Web.UI.Controls.RowEventArgs
Résultat void

gChildItems_RowSelected() protected méthode

protected gChildItems_RowSelected ( object sender, RowEventArgs e ) : void
sender object
e Rock.Web.UI.Controls.RowEventArgs
Résultat void

gParentItems_RowSelected() protected méthode

protected gParentItems_RowSelected ( object sender, RowEventArgs e ) : void
sender object
e Rock.Web.UI.Controls.RowEventArgs
Résultat void

lbAddExistingChildItem_Click() protected méthode

protected lbAddExistingChildItem_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

lbAddNewChildItem_Click() protected méthode

protected lbAddNewChildItem_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
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

lbDeleteChildItem_Click() protected méthode

protected lbDeleteChildItem_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

lbDelete_Click() protected méthode

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

lbRemoveChildItem_Click() protected méthode

protected lbRemoveChildItem_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
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

Property Details

ApprovedCss protected_oe property

protected string ApprovedCss
Résultat string

DeniedCss protected_oe property

protected string DeniedCss
Résultat string

PendingCss protected_oe property

protected string PendingCss
Résultat string