Intersoft WebGrid Documentation
ChildTables Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGridTable Class : ChildTables Property






Gets the collection of child WebGridTable object.

Syntax

Visual Basic (Declaration) 
<PersistenceModeAttribute(PersistenceMode.InnerProperty)>
<ISNet.Serialization.XmlSerializableAttribute()>
<ISNet.Serialization.BinarySerializableAttribute()>
<BrowsableAttribute(False)>
<NotifyParentPropertyAttribute(True)>
<DescriptionAttribute()>
<DefaultValueAttribute()>
Public ReadOnly Property ChildTables As WebGridTableCollection
Visual Basic (Usage)Copy Code
Dim instance As WebGridTable
Dim value As WebGridTableCollection
 
value = instance.ChildTables
C# 
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[BrowsableAttribute(false)]
[NotifyParentPropertyAttribute(true)]
[DescriptionAttribute()]
[DefaultValueAttribute()]
public WebGridTableCollection ChildTables {get;}
Delphi 
public read-only property ChildTables: WebGridTableCollection; 
JScript 
PersistenceModeAttribute(PersistenceMode.InnerProperty)
ISNet.Serialization.XmlSerializableAttribute()
ISNet.Serialization.BinarySerializableAttribute()
BrowsableAttribute()
NotifyParentPropertyAttribute()
DescriptionAttribute()
DefaultValueAttribute()
public function get ChildTables : WebGridTableCollection
Managed Extensions for C++ 
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[BrowsableAttribute(false)]
[NotifyParentPropertyAttribute(true)]
[DescriptionAttribute()]
[DefaultValueAttribute()]
public: __property WebGridTableCollection* get_ChildTables();
C++/CLI 
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[BrowsableAttribute(false)]
[NotifyParentPropertyAttribute(true)]
[DescriptionAttribute()]
[DefaultValueAttribute()]
public:
property WebGridTableCollection^ ChildTables {
   WebGridTableCollection^ get();
}

Remarks

The ChildTables is a collection of WebGridTable objects, those structures made up the Hierarchical object model. The ChildTables object is contained in WebGridTable object which is the central object in WebGrid.

In WebGrid.NET Enterprise 5.0 the new concept affects WebGrid’s mechanism for loading child tables on demand. Several important points for loading child tables on demand in version 5.0:

  • Load on demand data retrieval is no longer handled at WebGrid level.
  • The load on demand data retrieval is now handled at datasource level. At the time of WebGrid.NET Enterprise 5.0 release, the only datasource control type that support this operation is ISDataSource.

Configuring a WebGrid in V5.0 to display load on demand child table is now easier and simpler. There is no configuration needed to set at WebGrid level. At ISDataSource datasource control level, you can enable load on demand operation by simply setting LoadOnDemand property to True. Next, you provide the method that retrieve the child table data and assign it to the ISDataSource control.

<ISDataSource:ISDataSource ID="ISDataSource1" runat="server" LoadOnDemand="True" SchemaName="dsNorthwind">
...
</ISDataSource:ISDataSource>

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.