This question is locked. New answers and comments are not allowed.
Hi,
How to dynamically add ChildTableDefinitions inside RadGridView_DataLoading..and how to create nested ChildTableDefinitions.....
below my source code...
How to dynamically add ChildTableDefinitions inside RadGridView_DataLoading..and how to create nested ChildTableDefinitions.....
below my source code...
private void RadGridView1_DataLoading(object sender, GridViewDataLoadingEventArgs e)
{
var childCustomerDefinition = new GridViewTableDefinition();
childCustomerDefinition.Relation =
new PropertyRelation("tm_TaskId");
var childM2MValues = new GridViewTableDefinition();
childM2MValues.Relation =
new PropertyRelation("tm_ParentTaskID");
childCustomerDefinition.ChildTableDefinitions.Add(childM2MValues);
dataControl.ChildTableDefinitions.Add(childCustomerDefinition);
}