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

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

Открытые свойства

Свойство Тип Описание
_calendarId int?
_canApprove bool
_canEdit bool

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

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

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.

btnSaveAudience_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSaveAudience control.

btnSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSave control.

cblCalendars_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the cblCalendars control.

gAudiences_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the gAudiences control.

lbCalendarDetail_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbCalendarDetail control.

lbCalendarsDetail_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbCalendarsDetail control.

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

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

Binds the audience grid.

GetEventItem ( int eventItemId, RockContext rockContext = null ) : EventItem

Gets the eventItem.

HideDialog ( ) : void

Hides the dialog.

SetEditMode ( bool editable ) : void

Sets the edit mode.

SetFollowingOnPostback ( int eventItemId ) : void

Sets the following on postback.

SetLabels ( EventItem eventItem ) : void
ShowDialog ( bool setValues = false ) : void

Shows the dialog.

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

Shows the dialog.

ShowEditDetails ( EventItem eventItem ) : void

Shows the edit details.

ShowItemAttributes ( ) : void

Shows the item attributes.

ShowReadonlyDetails ( EventItem eventItem ) : void

Shows the readonly details.

gAudiences_Add ( object sender, EventArgs e ) : void

Handles the Add event of the gAudiences control.

gAudiences_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gAudiences control.

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

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 .
Результат 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 eventItemId ) : void
eventItemId int The eventItem 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

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

Handles the Click event of the btnSaveAudience control.
protected btnSaveAudience_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

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

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

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

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

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

Handles the Click event of the lbCalendarDetail control.
protected lbCalendarDetail_Click ( 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

Описание свойств

_calendarId публичное свойство

public int? _calendarId
Результат int?

_canApprove публичное свойство

public bool _canApprove
Результат bool

_canEdit публичное свойство

public bool _canEdit
Результат bool