cant seems to get gridview to pay attention to multiple key fields in the relationship hierarchy
code is like this
GridViewRelation relation = new GridViewRelation(this.radGridStatement.MasterTemplate);
relation.ChildTemplate = template;
relation.ParentColumnNames.Add("DealerID");
relation.ParentColumnNames.Add("Month");
relation.ParentColumnNames.Add("Year");
relation.ChildColumnNames.Add("DealerID");
relation.ChildColumnNames.Add("Month");
relation.ChildColumnNames.Add("Year");
this.radGridStatement.Relations.Add(relation);
relationship requires three key columns
gridview only uses first one (dealerid)
code is like this
GridViewRelation relation = new GridViewRelation(this.radGridStatement.MasterTemplate);
relation.ChildTemplate = template;
relation.ParentColumnNames.Add("DealerID");
relation.ParentColumnNames.Add("Month");
relation.ParentColumnNames.Add("Year");
relation.ChildColumnNames.Add("DealerID");
relation.ChildColumnNames.Add("Month");
relation.ChildColumnNames.Add("Year");
this.radGridStatement.Relations.Add(relation);
relationship requires three key columns
gridview only uses first one (dealerid)