C# Class Rock.Web.UI.Controls.CheckinArea

Inheritance: System.Web.UI.WebControls.CompositeControl
显示文件 Open project: NewSpring/Rock

Public Properties

Property Type Description
GroupTypeGuid System.Guid

Public Methods

Method Description
CreateGroupTypeAttributeControls ( GroupType groupType, RockContext rockContext ) : void

Creates the group type attribute controls.

GetCheckinLabelAttributes ( Rock.Web.Cache.AttributeCache>.Dictionary groupTypeAttribute ) : Rock.Web.Cache.AttributeCache>.Dictionary

Gets the checkin label attribute keys.

GetGroupTypeValues ( GroupType groupType ) : void

Gets the type of the checkin group.

RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void

Writes the T:System.Web.UI.WebControls.CompositeControl content to the specified T:System.Web.UI.HtmlTextWriter object, for display on the client.

SetGroupType ( GroupType groupType, RockContext rockContext ) : void

Sets the type of the group.

Protected Methods

Method Description
AddCheckinLabel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the AddCheckinLabel control.

CreateChildControls ( ) : void

Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.

DeleteCheckinLabel_Click ( object sender, RowEventArgs e ) : void

Handles the Click event of the DeleteCheckinLabel control.

LoadViewState ( object savedState ) : void

Restores view-state information from a previous request that was saved with the M:System.Web.UI.WebControls.WebControl.SaveViewState method.

OnLoad ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Load event.

SaveViewState ( ) : object

Saves any state that was modified after the M:System.Web.UI.WebControls.Style.TrackViewState method was invoked.

Private Methods

Method Description
CreateCheckinLabelsGrid ( ) : void

Creates the checkin labels grid.

HandleGridEvents ( ) : void

Handles the grid events.

_ddlGroupTypeInheritFrom_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the _ddlGroupTypeInheritFrom control.

Method Details

AddCheckinLabel_Click() protected method

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

CreateChildControls() protected method

Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
protected CreateChildControls ( ) : void
return void

CreateGroupTypeAttributeControls() public method

Creates the group type attribute controls.
public CreateGroupTypeAttributeControls ( GroupType groupType, RockContext rockContext ) : void
groupType GroupType Type of the group.
rockContext Rock.Data.RockContext The rock context.
return void

DeleteCheckinLabel_Click() protected method

Handles the Click event of the DeleteCheckinLabel control.
protected DeleteCheckinLabel_Click ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e RowEventArgs The instance containing the event data.
return void

GetCheckinLabelAttributes() public static method

Gets the checkin label attribute keys.
public static GetCheckinLabelAttributes ( Rock.Web.Cache.AttributeCache>.Dictionary groupTypeAttribute ) : Rock.Web.Cache.AttributeCache>.Dictionary
groupTypeAttribute Rock.Web.Cache.AttributeCache>.Dictionary The group type attribute.
return Rock.Web.Cache.AttributeCache>.Dictionary

GetGroupTypeValues() public method

Gets the type of the checkin group.
public GetGroupTypeValues ( GroupType groupType ) : void
groupType GroupType Type of the group.
return void

LoadViewState() protected method

Restores view-state information from a previous request that was saved with the M:System.Web.UI.WebControls.WebControl.SaveViewState method.
protected LoadViewState ( object savedState ) : void
savedState object An object that represents the control state to restore.
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

RenderControl() public method

Writes the T:System.Web.UI.WebControls.CompositeControl content to the specified T:System.Web.UI.HtmlTextWriter object, for display on the client.
public RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter An that represents the output stream to render HTML content on the client.
return void

SaveViewState() protected method

Saves any state that was modified after the M:System.Web.UI.WebControls.Style.TrackViewState method was invoked.
protected SaveViewState ( ) : object
return object

SetGroupType() public method

Sets the type of the group.
public SetGroupType ( GroupType groupType, RockContext rockContext ) : void
groupType GroupType Type of the group.
rockContext Rock.Data.RockContext The rock context.
return void

Property Details

GroupTypeGuid public_oe property

Gets the group type unique identifier.
public Guid,System GroupTypeGuid
return System.Guid