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

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

Public Methods

Method Description
AddCustomActionControl ( Control control ) : void

Adds the custom action control.

ClearCustomActionControls ( ) : void

Clears the custom action controls.

GridActions ( Rock.Web.UI.Controls.Grid parentGrid ) : System

Initializes a new instance of the GridActions class.

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

Renders the HTML opening tag of the control to the specified writer. This method is used primarily by control developers.

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.

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

Renders the HTML closing tag of the control to the specified writer. This method is used primarily by control developers.

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.

_lbMergeTemplate_Click ( object sender, EventArgs e ) : void

Handles the Click event of the _lbMergeTemplate control.

Private Methods

Method Description
lbAdd_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbAdd control.

lbBulkUpdate_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbBulkUpdate control.

lbCommunicate_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbAdd control.

lbExcelExport_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbExcelExport control.

lbPersonMerge_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbAdd control.

lb_PreRender ( object sender, EventArgs e ) : void

Handles the PreRender event of the linkbutton controls.

Method Details

AddCustomActionControl() public method

Adds the custom action control.
public AddCustomActionControl ( Control control ) : void
control System.Web.UI.Control The control.
return void

ClearCustomActionControls() public method

Clears the custom action controls.
public ClearCustomActionControls ( ) : void
return void

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

GridActions() public method

Initializes a new instance of the GridActions class.
public GridActions ( Rock.Web.UI.Controls.Grid parentGrid ) : System
parentGrid Rock.Web.UI.Controls.Grid The parent grid.
return System

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

RenderBeginTag() public method

Renders the HTML opening tag of the control to the specified writer. This method is used primarily by control developers.
public RenderBeginTag ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter A that represents the output stream to render HTML content on the client.
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

RenderEndTag() public method

Renders the HTML closing tag of the control to the specified writer. This method is used primarily by control developers.
public RenderEndTag ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter A that represents the output stream to render HTML content on the client.
return void

_lbMergeTemplate_Click() protected method

Handles the Click event of the _lbMergeTemplate control.
protected _lbMergeTemplate_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void