TechTalk Genome v4.2

GenomeCollectionDataSource Class

Represents a Genome Set<T> or Collection<T> to data bound controls as a presentation collection that maintains pending user updates.

For a list of all members of this type, see GenomeCollectionDataSource Members.

System.Object
   Control
      DataSourceControl
         GenomeCollectionDataSource

[ParseChildren(ChildControlType="System.Web.UI.Control", ChildrenAsProperties="True", )]
[DisplayName(DisplayName="Genome Collection Data Source")]
[PersistChildren(Persist="False", UsesCustomPersistence="False")]
[Description(Description="Connects to a Genome Data Source bound to a collection property for providing batched collection modifications (add/remove/edit).")]
[ToolboxBitmap]
[Bindable(Bindable="False", Direction="OneWay")]
[NonVisualControl(IsNonVisual="True")]
[ControlBuilder(BuilderType="System.Web.UI.DataSourceControlBuilder")]
[Designer(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="System.Web.UI.Design.DataSourceDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[DesignerSerializer(SerializerTypeName="Microsoft.VisualStudio.Web.WebForms.ControlCodeDomSerializer, Microsoft.VisualStudio.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", SerializerBaseTypeName="System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[ToolboxItem(ToolboxItemType="System.Web.UI.Design.WebControlToolboxItem", ToolboxItemTypeName="System.Web.UI.Design.WebControlToolboxItem, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[DefaultProperty(Name="ID")]
[DesignerCategory(Category="Code")]
[Designer(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="System.Web.UI.Design.ControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[ToolboxItemFilter(FilterString="System.Web.UI", FilterType="Require")]
[Themeable(Themeable="False")]
public class GenomeCollectionDataSource : DataSourceControl, IDelegatingDataSource

Remarks

The GenomeCollectionDataSource is an ASP.NET data source control that represents a Genome Set or Collection object to data-bound controls. You can use the GenomeCollectionDataSource control in conjunction with a data-bound control to display, edit, and sort data on a Web page with little or no code.

The GenomeCollectionDataSource extends the behavior of an underlying GenomeDataSource by caching the pending user updates performed through the data-bound controls. The GenomeDataSource control has to be specified using the TargetDataSourceID property. The pending user changes are automatically merged with the underlying data to provide a consistent presentation view. The presentation changes can be explicitly flushed to the underlying GenomeDataSource to update the persistent collection/objects or discarded to return to the persisted state of the collection.

GenomeCollectionDataSource supports binding to collections of not yet existent objects (e.g. binding to the order items of an order to be created).

Requirements

Namespace: TechTalk.Genome.Extensions.Web.UI

Assembly: TechTalk.Genome.Extensions.Web (in TechTalk.Genome.Extensions.Web.dll)

Version: 4.2.4.4

Editions: Professional, Evaluation, Express

See Also

GenomeCollectionDataSource Members | TechTalk.Genome.Extensions.Web.UI Namespace