Rock.Web.UI.Controls.RockControlWrapper.RenderChildren C# (CSharp) Method

RenderChildren() protected method

Outputs the content of a server control's children to a provided T:System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.
protected RenderChildren ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The object that receives the rendered content.
return void
        protected override void RenderChildren( HtmlTextWriter writer )
        {
            if ( this.Controls != null )
            {
                foreach ( Control child in this.Controls )
                {
                    if ( !( child is HelpBlock ) && !(child is WarningBlock) )
                    {
                        child.RenderControl( writer );
                    }
                }
            }
        }