hi.
I have 3 tables that structure showed in attached picture and I want to create the manual hierarchy. for this goal I do this steps :
1. add column to master and child's template from designer and set "FieldName" property to table file name
2. add GridVew relation from for these master/child template.
3. in the button event click, load tables and set GridView DataSource & child template DataSource from entity framwork:
using (var entity = new VaccinationEntities())
{
radGridView1.DataSource = entity.Patients.ToList();
childTemplate1.DataSource = entity.ChildVaccinations.ToList();
childTemplate2.DataSource = entity.ProblemBackgrounds.ToList();
}
but after load data just master template showed in GridView without child template.