Hi,
I have a problem with getting the child row that is selected.
I have a grid with in the first column of the child grid a checkbox to select/deselect. When the check changed i handle the event. But i get the parentrow in the selected row and not the child row
How can i get the selected child row?
Little info on how i fill the childcolumn
Regards
I have a problem with getting the child row that is selected.
I have a grid with in the first column of the child grid a checkbox to select/deselect. When the check changed i handle the event. But i get the parentrow in the selected row and not the child row
How can i get the selected child row?
Little info on how i fill the childcolumn
| radGridResubmit.TableDefinition.ChildTableDefinitions[0].AutoGenerateFieldDescriptors = false; |
| Telerik.Windows.Controls.UI.GridViewDataColumn desc = new Telerik.Windows.Controls.UI.GridViewDataColumn(); |
| desc.HeaderText = ""; |
| desc.UniqueName = "IsSelectedForResubmit"; |
| desc.IsAutoGenerated = true; |
| desc.CellStyle = new Style(); |
| desc.CellStyle.Setters.Add(new Setter(TemplateProperty, FindResource("CheckBoxColumnTemplateAction"))); |
| radGridResubmit.TableDefinition.ChildTableDefinitions[0].FieldDescriptors.Add(desc); |
| desc = new GridViewDataColumn(); |
| desc.IsReadOnly = true; |
| desc.HeaderText = "ActionName"; |
| desc.UniqueName = "ActionName"; |
| desc.IsAutoGenerated = true; |
| radGridResubmit.TableDefinition.ChildTableDefinitions[0].FieldDescriptors.Add(desc); |
Regards