RadGrid for ASP.NET

RadGrid Send comments on this topic.
ParentTableRelation Property
See Also 
Telerik.WebControls Namespace > GridTableView Class : ParentTableRelation Property


Gets or sets the collection of data-field pairs that describe the relations in a hierarchical grid.   

 

Namespace: Telerik.WebControls
Assembly: RadGrid (in RadGrid.dll)

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property ParentTableRelation As GridTableViewRelation
Visual Basic (Usage)Copy Code
Dim instance As GridTableView
Dim value As GridTableViewRelation
 
value = instance.ParentTableRelation
C# 
public GridTableViewRelation ParentTableRelation {get;}

Return Value

A GridTableViewRelation collection of data-field pairs that describe the relations in a hierarchical grid.

Remarks

If you have specified the relations RadGrid will automatically filter the child data-source when when binding detail-tables. The specified GridRelationFields.MasterKeyField in each GridRelationFields in this collection should be a Key that is specified in the parent table's GridTableView.DataKeyNames array. Each DetailKeyField specfied should also be included in this GridTableView's DataKeyNames array. MasterTableView does not need any ParentTableRelations.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also