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

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

Private Properties

Свойство Тип Описание
BindChannelAttributesGrid void
BindItemAttributesGrid void
GetContentChannelType ContentChannelType
HideDialog void
SaveAttributes void
ShowDialog void
ShowDialog void

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

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

Gets the bread crumbs.

ShowDetail ( int contentTypeId ) : 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.

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.

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

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

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

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 contentTypeId ) : void
contentTypeId int The marketing campaign ad type identifier.
Результат void

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

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

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

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

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

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

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

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

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

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

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

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

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

Gs the marketing campaign ad attribute type_ show edit.
protected gChannelAttributes_ShowEdit ( System.Guid attributeGuid ) : void
attributeGuid System.Guid
Результат 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

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