C# Class RockWeb.Blocks.Event.CalendarDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Datei anzeigen Open project: NewSpring/Rock

Private Properties

Property 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

Public Methods

Method 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.

Protected Methods

Method 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

Method 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 method

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.
return void

GetBreadCrumbs() public method

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.
return List

LoadViewState() protected method

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.
return void

OnInit() protected method

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

OnLoad() protected method

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

SaveViewState() protected method

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

ShowDetail() public method

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

btnCancel_Click() protected method

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.
return void

btnDelete_Click() protected method

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.
return void

btnEdit_Click() protected method

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.
return void

btnSave_Click() protected method

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.
return void

dlgAttribute_SaveClick() protected method

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.
return void

dlgContentChannel_SaveClick() protected method

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.
return void

gAttributes_Add() protected method

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.
return void

gAttributes_Delete() protected method

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.
return void

gAttributes_Edit() protected method

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.
return void

gAttributes_GridRebind() protected method

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.
return void

gAttributes_GridReorder() protected method

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.
return void

gContentChannels_Add() protected method

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.
return void

gContentChannels_Delete() protected method

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.
return void

gContentChannels_GridRebind() protected method

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.
return void

lbCalendarsDetail_Click() protected method

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.
return void