System.Web.UI.WebControls.LiteralControlBuilder.AppendSubBuilder Method

Throws System.Web.HttpException, because adding child control builders does not apply to the System.Web.UI.WebControls.Literal control.

Syntax

public override void AppendSubBuilder (System.Web.UI.ControlBuilder subBuilder)

Parameters

subBuilder
The System.Web.UI.ControlBuilder object to add the child control builders to.

Remarks

In the System.Web.UI.ControlBuilder base class, this method adds the builders of all child controls associated with the System.Web.UI.WebControls.Literal control to the specified System.Web.UI.ControlBuilder object. This method is inherited from the System.Web.UI.ControlBuilder class and is not applicable to the System.Web.UI.WebControls.LiteralControlBuilder. In the overridden implementation in System.Web.UI.WebControls.LiteralControlBuilder, the method always throws System.Web.HttpException.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0