C# Класс RockWeb.Blocks.Event.CalendarDetail

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

Private Properties

Свойство Тип Описание
BindAttributesGrid void
BindContentChannelsGrid void
GetEventCalendar EventCalendar
HideDialog void
LoadStateDetails void
ReOrderAttributes void
SaveAttributes void
SetEditMode void
ShowAttributeEdit void
ShowDialog void
ShowDialog void
ShowEditDetails void
ShowReadonlyDetails void
SortAttributes void

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

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

Returns breadcrumbs specific to the block that should be added to navigation based on the current page reference. This function is called during the page's oninit to load any initial breadcrumbs

ShowDetail ( int eventCalendarId ) : void

Shows the edit.

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

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

btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancel control.

btnDelete_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnDelete control.

btnEdit_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnEdit control.

btnSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSave control.

dlgAttribute_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the dlgAttribute control.

dlgContentChannel_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the dlgContentChannel control.

gAttributes_Add ( object sender, EventArgs e ) : void

Handles the Add event of the gAttributes control.

gAttributes_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the gAttributes control.

gAttributes_Edit ( object sender, RowEventArgs e ) : void

Handles the Edit event of the gAttributes control.

gAttributes_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gAttributes control.

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

Handles the GridReorder event of the gAttributes control.

gContentChannels_Add ( object sender, EventArgs e ) : void

Handles the Add event of the gContentChannels control.

gContentChannels_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the gContentChannels control.

gContentChannels_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gAttributes control.

lbCalendarsDetail_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbCalendarsDetail control.

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

Метод Описание
BindAttributesGrid ( ) : void

Binds the group type attributes grid.

BindContentChannelsGrid ( ) : void

Binds the group type attributes grid.

GetEventCalendar ( int eventCalendarId, RockContext rockContext = null ) : EventCalendar

Gets the event calendar.

HideDialog ( ) : void

Hides the dialog.

LoadStateDetails ( EventCalendar eventCalendar, RockContext rockContext ) : void

Loads the state details.

ReOrderAttributes ( List attributeList ) : void

Reorder attributes.

SaveAttributes ( int entityTypeId, string qualifierColumn, string qualifierValue, List attributes, RockContext rockContext ) : void

Saves the attributes.

SetEditMode ( bool editable ) : void

Sets the edit mode.

ShowAttributeEdit ( System.Guid attributeGuid ) : void

Shows the attribute edit.

ShowDialog ( bool setValues = false ) : void

Shows the dialog.

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

Shows the dialog.

ShowEditDetails ( EventCalendar eventCalendar, RockContext rockContext ) : void

Shows the edit details.

ShowReadonlyDetails ( EventCalendar eventCalendar ) : void

Shows the readonly details.

SortAttributes ( List attributeList, int oldIndex, int newIndex ) : void

Reorders the attribute list.

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

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() публичный Метод

Returns breadcrumbs specific to the block that should be added to navigation based on the current page reference. This function is called during the page's oninit to load any initial breadcrumbs
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 edit.
public ShowDetail ( int eventCalendarId ) : void
eventCalendarId int The Event Calendar Type identifier.
Результат void

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

Handles the Click event of the btnCancel control.
protected btnCancel_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

Handles the Click event of the btnDelete control.
protected btnDelete_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

Handles the Click event of the btnEdit control.
protected btnEdit_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

Handles the Click event of the btnSave control.
protected btnSave_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

Handles the SaveClick event of the dlgAttribute control.
protected dlgAttribute_SaveClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

Handles the SaveClick event of the dlgContentChannel control.
protected dlgContentChannel_SaveClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

Handles the Add event of the gAttributes control.
protected gAttributes_Add ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

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

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

Handles the Edit event of the gAttributes control.
protected gAttributes_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

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

Handles the GridRebind event of the gAttributes control.
protected gAttributes_GridRebind ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

Handles the GridReorder event of the gAttributes control.
protected gAttributes_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

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

Handles the Add event of the gContentChannels control.
protected gContentChannels_Add ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

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

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

Handles the GridRebind event of the gAttributes control.
protected gContentChannels_GridRebind ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

Handles the Click event of the lbCalendarsDetail control.
protected lbCalendarsDetail_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void