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

Inheritance: System.Web.UI.WebControls.CompositeControl, IRockControl
显示文件 Open project: NewSpring/Rock Class Usage Examples

Private Properties

Property Type Description
LoadGroupRoles void
LoadGroupTypes void

Public Methods

Method Description
GroupRolePicker ( ) : System

Initializes a new instance of the GroupRolePicker 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.

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.

_ddlGroupType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the _ddlGroupType control.

Private Methods

Method Description
LoadGroupRoles ( int groupTypeId ) : void

Loads the group roles.

LoadGroupTypes ( ) : void

Loads the group types.

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

GroupRolePicker() public method

Initializes a new instance of the GroupRolePicker class.
public GroupRolePicker ( ) : System
return System

RenderBaseControl() public method

Renders the base control.
public RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The writer.
return void

RenderControl() public method

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.
return void

_ddlGroupType_SelectedIndexChanged() protected method

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.
return void