ComponentOne Dialog for ASP.NET Web Forms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1GridView Namespace / C1DetailGridView Class / Relation Property

In This Topic
    Relation Property
    In This Topic
    Gets a collection of MasterDetailRelation objects that represent master-detail relations in a hierarchical grid.
    Syntax
    'Declaration
     
    Public ReadOnly Property Relation As MasterDetailRelationCollection
    public MasterDetailRelationCollection Relation {get;}
    Remarks
    Collection elements must comply with following: Field which is used as property value MasterDetailRelation.MasterDataKeyName, should also be specified in C1GridView.DataKeyNames property of the master grid. Field which is used as property value MasterDetailRelation.DetailDataKeyName, should also be specified in C1GridView.DataKeyNames property.
    See Also