C# Класс Rock.Web.UI.Controls.GroupPicker

Наследование: ItemPicker
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

CreateChildControls() защищенный Метод

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
Результат void

OnInit() защищенный Метод

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Результат void

RenderCustomPickerActions() публичный Метод

Render any additional picker actions
public RenderCustomPickerActions ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The writer.
Результат void

SetValue() публичный Метод

Sets the value.
public SetValue ( Group group ) : void
group Group The group.
Результат void

SetValueOnSelect() защищенный Метод

Sets the value on select.
protected SetValueOnSelect ( ) : void
Результат void

SetValues() публичный Метод

Sets the values.
public SetValues ( IEnumerable groups ) : void
groups IEnumerable The groups.
Результат void

SetValuesOnSelect() защищенный Метод

Sets the values on select.
protected SetValuesOnSelect ( ) : void
Результат void

_cbShowInactiveGroups_CheckedChanged() публичный Метод

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.
Результат void