protected virtual void RenderContents(BocListRenderingContext renderingContext)
        {
            ArgumentUtility.CheckNotNull("renderingContext", renderingContext);

            //  Menu Block
            if (renderingContext.Control.HasMenuBlock)
            {
                renderingContext.Writer.AddAttribute(HtmlTextWriterAttribute.Class, CssClasses.MenuBlock);

                if (!renderingContext.Control.MenuBlockWidth.IsEmpty)
                {
                    renderingContext.Writer.AddStyleAttribute(HtmlTextWriterStyle.Width, renderingContext.Control.MenuBlockWidth.ToString());
                }

                renderingContext.Writer.RenderBeginTag(HtmlTextWriterTag.Div);

                if (!renderingContext.Control.MenuBlockOffset.IsEmpty)
                {
                    renderingContext.Writer.AddStyleAttribute(HtmlTextWriterStyle.MarginLeft, renderingContext.Control.MenuBlockOffset.ToString());
                }
                renderingContext.Writer.RenderBeginTag(HtmlTextWriterTag.Div);

                MenuBlockRenderer.Render(renderingContext);

                renderingContext.Writer.RenderEndTag();
                renderingContext.Writer.RenderEndTag();
            }

            //  Table Block
            renderingContext.Writer.AddAttribute(
                HtmlTextWriterAttribute.Class, CssClasses.GetTableBlock(renderingContext.Control.HasMenuBlock, renderingContext.Control.HasNavigator));
            if (renderingContext.Control.HasMenuBlock && !renderingContext.Control.MenuBlockWidth.IsEmpty)
            {
                renderingContext.Writer.AddStyleAttribute("right", renderingContext.Control.MenuBlockWidth.ToString());
            }
            renderingContext.Writer.RenderBeginTag(HtmlTextWriterTag.Div);

            TableBlockRenderer.Render(renderingContext);

            if (renderingContext.Control.HasNavigator)
            {
                NavigationBlockRenderer.Render(renderingContext);
            }

            renderingContext.Writer.RenderEndTag();
        }