C# Class RockWeb.Plugins.cc_newspring.AttendedCheckin.ActivitySelect

Inheritance: Rock.CheckIn.CheckInBlock
Datei anzeigen Open project: NewSpring/rock-attended-checkin

Private Properties

Property Type Description
GetCurrentPerson Rock.CheckIn.CheckInPerson
GoNext void
UnsetChanges void

Protected Methods

Method Description
BindGroupTypes ( List groupTypes, int groupTypeId = null ) : void

Binds the group types.

BindInfo ( ) : void

Binds the edit info modal.

BindLocations ( List groupTypes, int groupTypeId = null, int groupId = null, int locationId = null ) : void

Binds the locations.

BindSchedules ( List groupTypes, int groupTypeId = null, int groupId = null, int locationId = null ) : void

Binds the schedules.

BindSelectedGrid ( ) : void

Binds the selected items to the grid.

GetScheduleAttendance ( CheckInLocation location ) : void

Gets the attendance count for all of the schedules for a location. This will show on the schedule buttons.

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.

gSelectedGrid_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the gCheckInList control.

lbBack_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbBack control.

lbCloseEditInfo_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbCloseEditInfo control.

lbEditInfo_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbEditInfo control.

lbNext_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbNext control.

lbSaveEditInfo_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbSaveEditInfo control.

lvGroupType_ItemCommand ( object source, System.Web.UI.WebControls.ListViewCommandEventArgs e ) : void

Handles the ItemCommand event of the rGroupType control.

lvGroupType_ItemDataBound ( object sender, System.Web.UI.WebControls.ListViewItemEventArgs e ) : void

Handles the ItemDataBound event of the rGroupTypes control.

lvGroupType_PagePropertiesChanging ( object sender, System.Web.UI.WebControls.PagePropertiesChangingEventArgs e ) : void

Handles the PagePropertiesChanging event of the lvGroupType control.

lvLocation_ItemCommand ( object sender, System.Web.UI.WebControls.ListViewCommandEventArgs e ) : void

Handles the ItemCommand event of the lvLocation control.

lvLocation_ItemDataBound ( object sender, System.Web.UI.WebControls.ListViewItemEventArgs e ) : void

Handles the ItemDataBound event of the lvLocation control.

lvLocation_PagePropertiesChanging ( object sender, System.Web.UI.WebControls.PagePropertiesChangingEventArgs e ) : void

Handles the PagePropertiesChanging event of the lvLocation control.

rSchedule_ItemCommand ( object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e ) : void

Handles the ItemCommand event of the rSchedule control.

rSchedule_ItemDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void

Handles the ItemDataBound event of the rSchedule control.

Private Methods

Method Description
GetCurrentPerson ( int personId = null ) : CheckInPerson

Gets the current person.

GoNext ( ) : void

Goes to the confirmation page with changes.

UnsetChanges ( ) : void

Unsets the changes.

Method Details

BindGroupTypes() protected method

Binds the group types.
protected BindGroupTypes ( List groupTypes, int groupTypeId = null ) : void
groupTypes List
groupTypeId int
return void

BindInfo() protected method

Binds the edit info modal.
protected BindInfo ( ) : void
return void

BindLocations() protected method

Binds the locations.
protected BindLocations ( List groupTypes, int groupTypeId = null, int groupId = null, int locationId = null ) : void
groupTypes List
groupTypeId int
groupId int
locationId int
return void

BindSchedules() protected method

Binds the schedules.
protected BindSchedules ( List groupTypes, int groupTypeId = null, int groupId = null, int locationId = null ) : void
groupTypes List
groupTypeId int
groupId int
locationId int
return void

BindSelectedGrid() protected method

Binds the selected items to the grid.
protected BindSelectedGrid ( ) : void
return void

GetScheduleAttendance() protected method

Gets the attendance count for all of the schedules for a location. This will show on the schedule buttons.
protected GetScheduleAttendance ( CheckInLocation location ) : void
location Rock.CheckIn.CheckInLocation
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

gSelectedGrid_Delete() protected method

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

lbBack_Click() protected method

Handles the Click event of the lbBack control.
protected lbBack_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

lbCloseEditInfo_Click() protected method

Handles the Click event of the lbCloseEditInfo control.
protected lbCloseEditInfo_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

lbEditInfo_Click() protected method

Handles the Click event of the lbEditInfo control.
protected lbEditInfo_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

lbNext_Click() protected method

Handles the Click event of the lbNext control.
protected lbNext_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

lbSaveEditInfo_Click() protected method

Handles the Click event of the lbSaveEditInfo control.
protected lbSaveEditInfo_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

lvGroupType_ItemCommand() protected method

Handles the ItemCommand event of the rGroupType control.
protected lvGroupType_ItemCommand ( object source, System.Web.UI.WebControls.ListViewCommandEventArgs e ) : void
source object The source of the event.
e System.Web.UI.WebControls.ListViewCommandEventArgs The instance containing the event data.
return void

lvGroupType_ItemDataBound() protected method

Handles the ItemDataBound event of the rGroupTypes control.
protected lvGroupType_ItemDataBound ( object sender, System.Web.UI.WebControls.ListViewItemEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.ListViewItemEventArgs The instance containing the event data.
return void

lvGroupType_PagePropertiesChanging() protected method

Handles the PagePropertiesChanging event of the lvGroupType control.
protected lvGroupType_PagePropertiesChanging ( object sender, System.Web.UI.WebControls.PagePropertiesChangingEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.PagePropertiesChangingEventArgs The instance containing the event data.
return void

lvLocation_ItemCommand() protected method

Handles the ItemCommand event of the lvLocation control.
protected lvLocation_ItemCommand ( object sender, System.Web.UI.WebControls.ListViewCommandEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.ListViewCommandEventArgs The instance containing the event data.
return void

lvLocation_ItemDataBound() protected method

Handles the ItemDataBound event of the lvLocation control.
protected lvLocation_ItemDataBound ( object sender, System.Web.UI.WebControls.ListViewItemEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.ListViewItemEventArgs The instance containing the event data.
return void

lvLocation_PagePropertiesChanging() protected method

Handles the PagePropertiesChanging event of the lvLocation control.
protected lvLocation_PagePropertiesChanging ( object sender, System.Web.UI.WebControls.PagePropertiesChangingEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.PagePropertiesChangingEventArgs The instance containing the event data.
return void

rSchedule_ItemCommand() protected method

Handles the ItemCommand event of the rSchedule control.
protected rSchedule_ItemCommand ( object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e ) : void
source object The source of the event.
e System.Web.UI.WebControls.RepeaterCommandEventArgs The instance containing the event data.
return void

rSchedule_ItemDataBound() protected method

Handles the ItemDataBound event of the rSchedule control.
protected rSchedule_ItemDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.RepeaterItemEventArgs The instance containing the event data.
return void