LiteralControlBuilder.AppendSubBuilder Method

Throws HttpException, because adding child control builders does not apply to the Literal control.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

public:
virtual void AppendSubBuilder (
	ControlBuilder^ subBuilder
) override
public void AppendSubBuilder (
	ControlBuilder subBuilder
)
public override function AppendSubBuilder (
	subBuilder : ControlBuilder
)

Parameters

subBuilder

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

Exception typeCondition

HttpException

An attempt is made to use this method.

In the ControlBuilder base class, this method adds the builders of all child controls associated with the 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 LiteralControlBuilder. In the overridden implementation in LiteralControlBuilder, the method always throws HttpException.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

ADD
Show: