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

Control that can be used to select a group and role for a selected group type
Наследование: System.Web.UI.WebControls.CompositeControl, IRockControl, IDisplayRequiredIndicator
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
LoadGroupTypes void
LoadGroupsAndRoles void

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

Метод Описание
GroupAndRolePicker ( ) : System

Initializes a new instance of the GroupTypeGroupPicker class.

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

Renders the base control.

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

Outputs server control content to a provided T:System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.

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

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

_ddlGroupType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the _ddlGroupType control.

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

Метод Описание
LoadGroupTypes ( ) : void

Loads the group types.

LoadGroupsAndRoles ( int groupTypeId ) : void

Loads the groups.

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

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

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

Initializes a new instance of the GroupTypeGroupPicker class.
public GroupAndRolePicker ( ) : System
Результат System

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

Renders the base control.
public RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The writer.
Результат void

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

Outputs server control content to a provided T:System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
public RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The object that receives the control content.
Результат void

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

Handles the SelectedIndexChanged event of the _ddlGroupType control.
protected _ddlGroupType_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void