C# Class RockWeb.Blocks.Cms.ContentChannelItemDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Exibir arquivo Open project: NewSpring/Rock

Protected Properties

Property Type Description
ApprovedCss string
DeniedCss string
PendingCss string

Public Methods

Method Description
GetBreadCrumbs ( PageReference pageReference ) : List

Gets the bread crumbs.

ShowDetail ( int contentItemId ) : void

Shows the detail.

ShowDetail ( int contentItemId, int contentChannelId ) : void

Protected Methods

Method 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

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

DisplayStatus() protected method

protected DisplayStatus ( ContentChannelItemStatus contentItemStatus ) : string
contentItemStatus ContentChannelItemStatus
return string

GetBreadCrumbs() public method

Gets the bread crumbs.
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 ( int contentItemId ) : void
contentItemId int The marketing campaign ad type identifier.
return void

ShowDetail() public method

public ShowDetail ( int contentItemId, int contentChannelId ) : void
contentItemId int
contentChannelId int
return void

ddlAddExistingItemChannel_SelectedIndexChanged() protected method

protected ddlAddExistingItemChannel_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

gChildItems_Delete() protected method

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

gChildItems_RowSelected() protected method

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

gParentItems_RowSelected() protected method

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

lbAddExistingChildItem_Click() protected method

protected lbAddExistingChildItem_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

lbAddNewChildItem_Click() protected method

protected lbAddNewChildItem_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

lbCancel_Click() protected method

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.
return void

lbDeleteChildItem_Click() protected method

protected lbDeleteChildItem_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

lbDelete_Click() protected method

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.
return void

lbRemoveChildItem_Click() protected method

protected lbRemoveChildItem_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

lbSave_Click() protected method

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.
return void

Property Details

ApprovedCss protected_oe property

protected string ApprovedCss
return string

DeniedCss protected_oe property

protected string DeniedCss
return string

PendingCss protected_oe property

protected string PendingCss
return string