C# Class RockWeb.Blocks.Cms.ContentChannelTypeDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Show file Open project: SparkDevNetwork/Rock

Private Properties

Property Type Description
BindChannelAttributesGrid void
BindItemAttributesGrid void
GetContentChannelType ContentChannelType
HideDialog void
SaveAttributes void
ShowDialog void
ShowDialog void

Public Methods

Method Description
GetBreadCrumbs ( PageReference pageReference ) : List

Gets the bread crumbs.

ShowDetail ( int contentTypeId ) : void

Shows the detail.

Protected Methods

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

dlgChannelAttributes_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the dlgChannelAttributes control.

dlgItemAttributes_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the dlgItemAttributes control.

gChannelAttributes_Add ( object sender, EventArgs e ) : void

Handles the Add event of the gChannelAttributes control.

gChannelAttributes_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the gChannelAttributes control.

gChannelAttributes_Edit ( object sender, RowEventArgs e ) : void

Handles the Edit event of the gChannelAttributes control.

gChannelAttributes_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gChannelAttributes control.

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

Handles the GridReorder event of the gChannelAttributes control.

gChannelAttributes_ShowEdit ( System.Guid attributeGuid ) : void

Gs the marketing campaign ad attribute type_ show edit.

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.

lbSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbSave control.

Private Methods

Method Description
BindChannelAttributesGrid ( ) : void

Binds the marketing campaign ad attribute type grid.

BindItemAttributesGrid ( ) : void

Binds the marketing campaign ad attribute type grid.

GetContentChannelType ( int contentTypeId, RockContext rockContext = null ) : ContentChannelType

Gets the type of the content.

HideDialog ( ) : void

Hides the dialog.

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

Saves the attributes.

ShowDialog ( bool setValues = false ) : void

Shows the dialog.

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

Shows the dialog.

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

GetBreadCrumbs() public method

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

LoadViewState() protected method

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

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

SaveViewState() protected method

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

ShowDetail() public method

Shows the detail.
public ShowDetail ( int contentTypeId ) : void
contentTypeId int The marketing campaign ad type identifier.
return void

dlgChannelAttributes_SaveClick() protected method

Handles the SaveClick event of the dlgChannelAttributes control.
protected dlgChannelAttributes_SaveClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

dlgItemAttributes_SaveClick() protected method

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

gChannelAttributes_Add() protected method

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

gChannelAttributes_Delete() protected method

Handles the Delete event of the gChannelAttributes control.
protected gChannelAttributes_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

gChannelAttributes_Edit() protected method

Handles the Edit event of the gChannelAttributes control.
protected gChannelAttributes_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.
return void

gChannelAttributes_GridRebind() protected method

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

gChannelAttributes_GridReorder() protected method

Handles the GridReorder event of the gChannelAttributes control.
protected gChannelAttributes_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.
return void

gChannelAttributes_ShowEdit() protected method

Gs the marketing campaign ad attribute type_ show edit.
protected gChannelAttributes_ShowEdit ( System.Guid attributeGuid ) : void
attributeGuid System.Guid
return void

gItemAttributes_Add() protected method

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

gItemAttributes_Delete() protected method

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

gItemAttributes_Edit() protected method

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

gItemAttributes_GridRebind() protected method

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

gItemAttributes_GridReorder() protected method

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

gItemAttributes_ShowEdit() protected method

Gs the marketing campaign ad attribute type_ show edit.
protected gItemAttributes_ShowEdit ( System.Guid attributeGuid ) : void
attributeGuid System.Guid
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

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