// Renders the control.
        protected internal override void Render(HtmlTextWriter markupWriter)
        {
            WmlTextWriter writer = (WmlTextWriter)markupWriter;

            // Review: In our literalControl transformation, we suppress p's at beginning of a form or a panel.
            // This saves real estate, and in practice it tends to look much better.  If the developer really wants a
            // break at the beginning of a panel, they can use <br/> to accomplish this.
            writer.BeginFormOrPanel();
            writer.PushPanelStyle(Control.ControlStyle); // to be written after next opening p tag.
            RenderChildren(writer);
            writer.PopPanelStyle();
            writer.PopLayout();
        }