Export (0) Print
Expand All

ControlBuilderInterceptor.PreControlBuilderInit Method

.NET Framework 4.5

Called before the ControlBuilder of an element in the markup is initialized.

Namespace:  System.Web.Compilation
Assembly:  System.Web (in System.Web.dll)

public virtual void PreControlBuilderInit(
	ControlBuilder controlBuilder,
	TemplateParser parser,
	ControlBuilder parentBuilder,
	Type type,
	string tagName,
	string id,
	IDictionary attributes,
	IDictionary additionalState
)

Parameters

controlBuilder
Type: System.Web.UI.ControlBuilder

The control builder which is about to be initialized.

parser
Type: System.Web.UI.TemplateParser

The TemplateParser which was used to parse the markup.

parentBuilder
Type: System.Web.UI.ControlBuilder

The parent control builder.

type
Type: System.Type

The type of the control that this builder will create.

tagName
Type: System.String

The name of the tag to be built.

id
Type: System.String

The ID of the element in the markup.

attributes
Type: System.Collections.IDictionary

The list of attributes of the element in the markup.

additionalState
Type: System.Collections.IDictionary

The additional state which can be used to store and retrieve data within several methods of the ControlBuilderInterceptor class.

The parentBuilder parameter is typically the builder corresponding to the parent element in the markup.

.NET Framework

Supported in: 4.6, 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Show:
© 2014 Microsoft