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

Inheritance: ItemPicker
Mostrar archivo Open project: NewSpring/Rock Class Usage Examples

Public Methods

Method Description
RenderCustomPickerActions ( System.Web.UI.HtmlTextWriter writer ) : void

Render any additional picker actions

SetValue ( Group group ) : void

Sets the value.

SetValues ( IEnumerable groups ) : void

Sets the values.

_cbShowInactiveGroups_CheckedChanged ( object sender, EventArgs e ) : void

Handles the CheckedChanged event of the _cbShowInactiveGroups control.

Protected Methods

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

OnInit ( EventArgs e ) : void

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

SetValueOnSelect ( ) : void

Sets the value on select.

SetValuesOnSelect ( ) : void

Sets the values on select.

Private Methods

Method Description
GetGroupAncestorsIdList ( Group group, List ancestorGroupIds = null ) : List

Returns a list of the ancestor Groups of the specified Group. If the ParentGroup property of the Group is not populated, it is assumed to be a top-level node.

SetExtraRestParams ( bool includeInactiveGroups = false ) : void

Sets the extra rest parameters.

Method Details

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

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

RenderCustomPickerActions() public method

Render any additional picker actions
public RenderCustomPickerActions ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The writer.
return void

SetValue() public method

Sets the value.
public SetValue ( Group group ) : void
group Group The group.
return void

SetValueOnSelect() protected method

Sets the value on select.
protected SetValueOnSelect ( ) : void
return void

SetValues() public method

Sets the values.
public SetValues ( IEnumerable groups ) : void
groups IEnumerable The groups.
return void

SetValuesOnSelect() protected method

Sets the values on select.
protected SetValuesOnSelect ( ) : void
return void

_cbShowInactiveGroups_CheckedChanged() public method

Handles the CheckedChanged event of the _cbShowInactiveGroups control.
public _cbShowInactiveGroups_CheckedChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void