protected void RenderControl (HtmlTextWriter writer, ControlAdapter adapter) { if ((stateMask & VISIBLE) != 0) { adapter.BeginRender (writer); adapter.Render (writer); adapter.EndRender (writer); } }
private void RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) { try { BeginRenderTracing(writer, this); if (adapter != null) { // adapter.BeginRender(writer); adapter.Render(writer); adapter.EndRender(writer); } else { Render(writer); } } finally { EndRenderTracing(writer, this); } }
private void RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) { if (adapter != null) { adapter.BeginRender(writer); adapter.Render(writer); adapter.EndRender(writer); } else { this.Render(writer); } }