New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

corresponding fields from a master-detail relation

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class GridRelationFields : IStateManager

Inheritance: objectGridRelationFields

Implements: IStateManager

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public GridRelationFields()

Properties

Gets or sets the key field which will be used for a relation between the GridTableView and the parent table. The key field should refer to current GridTableView DataField which you want to use as relation. The DetailKeyField in the GridRelationFields should match the foreign key of the child table in the corresponding relation.

C#
public string DetailKeyField { get; set; }
Property Value:

The key field which will be used for a relation between the GridTableView and the parent table. The key field should refer to current GridTableView DataField which you want to use as relation. The DetailKeyField in the GridRelationFields should match the foreign key of the child table in the corresponding relation.

Gets or sets the key field which will be used for a relation between the GridTableView and the parent table. The key field should refer to parent GridTableView DataField which you want to use as relation. The MasterKeyField in the GridRelationFields should match the primary key of the parent table in the corresponding relation.

C#
public string MasterKeyField { get; set; }
Property Value:

The key field which will be used for a relation between the GridTableView and the parent table. The key field should refer to parent GridTableView DataField which you want to use as relation. The MasterKeyField in the GridRelationFields should match the primary key of the parent table in the corresponding relation.