Rock.Web.UI.RockBlockWrapper.CreateChildControls C# (CSharp) Method

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
        protected override void CreateChildControls()
        {
            base.CreateChildControls();

            foreach ( Control configControl in _adminControls )
            {
                configControl.ClientIDMode = ClientIDMode.AutoID;
                Controls.Add( configControl );
            }

            Controls.Add( _rockBlock );
        }