Export (0) Print
Expand All

BindableTemplateBuilder Class

Supports page parsing of data-bound controls that automatically bind to an ASP.NET data source control within templated content sections. This class cannot be inherited.

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

[AspNetHostingPermissionAttribute(SecurityAction::InheritanceDemand, Level = AspNetHostingPermissionLevel::Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction::LinkDemand, Level = AspNetHostingPermissionLevel::Minimal)]
public ref class BindableTemplateBuilder sealed : public TemplateBuilder, 
	IBindableTemplate, ITemplate

The BindableTemplateBuilder class is used in design-time and in no-compile pages to support extracting the values of two-way bound control properties in a data-bound template. The BindableTemplateBuilder object generates the code that implements the IBindableTemplate::ExtractValues method for the template.

The BindableTemplateBuilder is a TemplateBuilder for data-bound controls that include templated content. If the data-bound control is used in design-time or in a no-compile page, the IBindableTemplate interface on the BindableTemplateBuilder is used to parse the two-way data-binding within the templated control. If the data-bound control is compiled, an instance of the CompiledBindableTemplateBuilder class is created and assigned to the value of the IBindableTemplate object.

For more information about ASP.NET data binding, expressions, and syntax, see Binding to Databases and Data-Binding Expressions Overview.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

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

.NET Framework

Supported in: 3.5, 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft