Hello,
I try to create a relation between the MasterTemplate and a ChildTemplate.
The DataSources for the templates have to be filled manually, due they come from different sources (REST and .Net-Remoting).
After fill in the data, I create a relation between them
Maybe someone got a clue... I haven't :(
Regards,
Steffen
I try to create a relation between the MasterTemplate and a ChildTemplate.
The DataSources for the templates have to be filled manually, due they come from different sources (REST and .Net-Remoting).
After fill in the data, I create a relation between them
var relation = new GridViewRelation(_StockGridView.MasterTemplate);
relation.ChildTemplate = _PartsTemplate;
relation.RelationName = "PartToArticleCode";
relation.ParentColumnNames.Add("ID");
relation.ChildColumnNames.Add("ArticleCodeID");
this._StockGridView.Relations.Add(relation);
Unfortunatly... this does not work (anymore!). It worked the first time I created the form etc., but after I've added a control to a container to the form (not to the grid), the gridview refuses to show the hierarchy anymore.Maybe someone got a clue... I haven't :(
Regards,
Steffen