C# Класс 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/
Наследование: IBindableTemplate
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

ExtractValues() публичный Метод

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. ///
Результат IOrderedDictionary

InstantiateIn() публичный Метод

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. ///
Результат void

MultiBindableTemplate() публичный Метод

Initializes a new instance of the MultiBindableTemplate class.
public MultiBindableTemplate ( ) : System
Результат System

MultiBindableTemplate() публичный Метод

Initializes a new instance of the MultiBindableTemplate class.
public MultiBindableTemplate ( System.Web.UI.TemplateControl control ) : System
control System.Web.UI.TemplateControl
Результат System