C# Класс RockWeb.Blocks.Cms.ContentChannelDetail

Наследование: Rock.Web.UI.RockBlock, IDetailBlock
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
AddAttributeControls void
BindChildContentChannelsGrid void
BindItemAttributesGrid void
GetContentChannel ContentChannel
HideDialog void
LoadDropdowns void
SaveAttributes void
SetEditMode void
SetHeadingInfo void
ShowDialog void
ShowDialog void
ShowReadonlyDetails void

Открытые методы

Метод Описание
GetBreadCrumbs ( PageReference pageReference ) : List

Gets the bread crumbs.

ShowDetail ( int contentChannelId ) : void

Shows the detail.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

Block_BlockUpdated() защищенный Метод

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.
Результат void

GetBreadCrumbs() публичный Метод

Gets the bread crumbs.
public GetBreadCrumbs ( PageReference pageReference ) : List
pageReference PageReference The page reference.
Результат List

LoadViewState() защищенный Метод

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.
Результат void

OnInit() защищенный Метод

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Результат void

OnLoad() защищенный Метод

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Результат void

SaveViewState() защищенный Метод

Saves any user control view-state changes that have occurred since the last page postback.
protected SaveViewState ( ) : object
Результат object

ShowDetail() публичный Метод

Shows the detail.
public ShowDetail ( int contentChannelId ) : void
contentChannelId int The marketing campaign ad type identifier.
Результат void

ShowEditDetails() защищенный Метод

Shows the edit details.
protected ShowEditDetails ( ContentChannel contentChannel ) : void
contentChannel ContentChannel Type of the content.
Результат void

ddlChannelType_SelectedIndexChanged() защищенный Метод

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.
Результат void

ddlContentControlType_SelectedIndexChanged() защищенный Метод

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.
Результат void

dlgChildContentChannel_SaveClick() защищенный Метод

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.
Результат void

dlgItemAttributes_SaveClick() защищенный Метод

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.
Результат void

gChildContentChannels_Add() защищенный Метод

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.
Результат void

gChildContentChannels_Delete() защищенный Метод

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.
Результат void

gChildContentChannels_GridRebind() защищенный Метод

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.
Результат void

gItemAttributes_Add() защищенный Метод

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.
Результат void

gItemAttributes_Delete() защищенный Метод

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.
Результат void

gItemAttributes_Edit() защищенный Метод

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.
Результат void

gItemAttributes_GridRebind() защищенный Метод

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.
Результат void

gItemAttributes_GridReorder() защищенный Метод

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.
Результат void

gItemAttributes_ShowEdit() защищенный Метод

Gs the marketing campaign ad attribute type_ show edit.
protected gItemAttributes_ShowEdit ( System.Guid attributeGuid ) : void
attributeGuid System.Guid
Результат void

lbCancel_Click() защищенный Метод

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.
Результат void

lbEdit_Click() защищенный Метод

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.
Результат void

lbSave_Click() защищенный Метод

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.
Результат void