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

Inheritance: ItemPicker
Afficher le fichier Open project: NewSpring/Rock Class Usage Examples

Méthodes publiques

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

Méthodes protégées

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

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

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

RenderCustomPickerActions() public méthode

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

SetValue() public méthode

Sets the value.
public SetValue ( Group group ) : void
group Group The group.
Résultat void

SetValueOnSelect() protected méthode

Sets the value on select.
protected SetValueOnSelect ( ) : void
Résultat void

SetValues() public méthode

Sets the values.
public SetValues ( IEnumerable groups ) : void
groups IEnumerable The groups.
Résultat void

SetValuesOnSelect() protected méthode

Sets the values on select.
protected SetValuesOnSelect ( ) : void
Résultat void

_cbShowInactiveGroups_CheckedChanged() public méthode

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