CompositeControlBaseRender Method |
Renders the control to the specified HTML writer.
Namespace:
NetQuarry.WebControls
Assembly:
EAP.WebControls (in EAP.WebControls.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax protected override void Render(
HtmlTextWriter writer
)
Protected Overrides Sub Render (
writer As HtmlTextWriter
)
Parameters
- writer
- Type: System.Web.UIHtmlTextWriter
The HtmlTextWriter object that receives the control content.
Remarks
This method is overridden to provide a workaround to a problem with composite controls
in the v1.1 .Net Studio. It may not apply in v2.0, but this has not been tested.
The problem is (was) that CreateChildControls() is not called reliably. The result
is that the control does not draw correctly. So, here we force the call
to CreateChildControls() if we're in the designer.
See Also