C# Class RockWeb.Blocks.Event.CalendarDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Afficher le fichier Open project: NewSpring/Rock

Private Properties

Свойство Type Description
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

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode 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.

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.

Private Methods

Méthode Description
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.

Method Details

Block_BlockUpdated() protected méthode

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.
Résultat void

GetBreadCrumbs() public méthode

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.
Résultat List

LoadViewState() protected méthode

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.
Résultat void

OnInit() protected méthode

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Résultat void

OnLoad() protected méthode

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Résultat void

SaveViewState() protected méthode

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

ShowDetail() public méthode

Shows the edit.
public ShowDetail ( int eventCalendarId ) : void
eventCalendarId int The Event Calendar Type identifier.
Résultat void

btnCancel_Click() protected méthode

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.
Résultat void

btnDelete_Click() protected méthode

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.
Résultat void

btnEdit_Click() protected méthode

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.
Résultat void

btnSave_Click() protected méthode

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.
Résultat void

dlgAttribute_SaveClick() protected méthode

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.
Résultat void

dlgContentChannel_SaveClick() protected méthode

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.
Résultat void

gAttributes_Add() protected méthode

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.
Résultat void

gAttributes_Delete() protected méthode

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.
Résultat void

gAttributes_Edit() protected méthode

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.
Résultat void

gAttributes_GridRebind() protected méthode

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.
Résultat void

gAttributes_GridReorder() protected méthode

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.
Résultat void

gContentChannels_Add() protected méthode

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.
Résultat void

gContentChannels_Delete() protected méthode

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.
Résultat void

gContentChannels_GridRebind() protected méthode

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.
Résultat void

lbCalendarsDetail_Click() protected méthode

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.
Résultat void