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

Inheritance: System.Web.UI.WebControls.PlaceHolder, INamingContainer
Show file Open project: NewSpring/Rock

Private Properties

Property Type Description

Public Methods

Method Description
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. Control is of the form:

SetEntity ( IModel entity, string rootUrl ) : void

Sets the Created By and Modified By details from the entity.

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 ( System e ) : void

Raises the E:System.Web.UI.Control.Init event.

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

Renders the child controls.

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

OnInit() protected method

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( System e ) : void
e System An object that contains the event data.
return void

RenderChildControls() protected method

Renders the child controls.
protected RenderChildControls ( 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. Control is of the form:
public RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The object that receives the control content.
return void

SetEntity() public method

Sets the Created By and Modified By details from the entity.
public SetEntity ( IModel entity, string rootUrl ) : void
entity IModel The entity.
rootUrl string The Rock root URL.
return void