C# Class Nettiers.AdventureWorks.Web.UI.MultiBindableTemplate

Provides a mechanism for combining multiple IBindableTemplate definitions into a single instance.
Adapted from an article written by James Crowley, which can be found at: http://www.developerfusion.co.uk/show/4721/
Inheritance: IBindableTemplate
显示文件 Open project: netTiers/netTiers Class Usage Examples

Public Methods

Method Description
ExtractValues ( Control container ) : IOrderedDictionary

Retrieves a set of name/value pairs for values bound using two-way ASP.NET data-binding syntax within the templated content.

InstantiateIn ( Control container ) : void

When implemented by a class, defines the System.Web.UI.Control object that child controls and templates belong to. These child controls are in turn defined within an inline template.

MultiBindableTemplate ( ) : System

Initializes a new instance of the MultiBindableTemplate class.

MultiBindableTemplate ( System.Web.UI.TemplateControl control ) : System

Initializes a new instance of the MultiBindableTemplate class.

Method Details

ExtractValues() public method

Retrieves a set of name/value pairs for values bound using two-way ASP.NET data-binding syntax within the templated content.
public ExtractValues ( Control container ) : IOrderedDictionary
container System.Web.UI.Control /// The System.Web.UI.Control from which to extract name/value pairs, which are /// passed by the data-bound control to an associated data source control in /// two-way data-binding scenarios. ///
return IOrderedDictionary

InstantiateIn() public method

When implemented by a class, defines the System.Web.UI.Control object that child controls and templates belong to. These child controls are in turn defined within an inline template.
public InstantiateIn ( Control container ) : void
container System.Web.UI.Control /// The System.Web.UI.Control object to contain the instances of controls from /// the inline template. ///
return void

MultiBindableTemplate() public method

Initializes a new instance of the MultiBindableTemplate class.
public MultiBindableTemplate ( ) : System
return System

MultiBindableTemplate() public method

Initializes a new instance of the MultiBindableTemplate class.
public MultiBindableTemplate ( System.Web.UI.TemplateControl control ) : System
control System.Web.UI.TemplateControl
return System