C# Class Rock.Web.UI.RockBlockWrapper

Inheritance: System.Web.UI.WebControls.CompositeControl
Show file Open project: NewSpring/Rock Class Usage Examples

Public Methods

Method Description
EnsureBlockControls ( ) : void

Ensures the block controls.

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.

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

Writes the T:System.Web.UI.WebControls.CompositeControl content to the specified T:System.Web.UI.HtmlTextWriter object, for display on the client.

Private Methods

Method Description
RockBlockWrapper ( Rock.Web.UI.RockBlock rockBlock ) : System

Initializes a new instance of the RockBlockWrapper class.

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

EnsureBlockControls() public method

Ensures the block controls.
public EnsureBlockControls ( ) : void
return void

Render() protected method

Writes the T:System.Web.UI.WebControls.CompositeControl content to the specified T:System.Web.UI.HtmlTextWriter object, for display on the client.
protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter An that represents the output stream to render HTML content on the client.
return void