protected override void Render(HtmlTextWriter writer) { this.EnsureChildControls(); ctrl1.RenderControl(writer); foreach (Control c in this.Controls) { c.RenderControl(writer); } ctrl2.RenderControl(writer); }