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
)
Not applicable.

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 Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: