I have run out of ideas!
I have a simple parent/child databound grid.
The parent has a list of people, the child has a list of stores assigned to them.
I am wanting so that if I want to assign a new store they can click on "click here to add a new row" then have it work.
The attached picture should help.
In "Cust Stop No" they should be able to type in a number, then I want to do some validation to make sure it is a valid store ID.
If it is, i want to fill in the other columns of data.
I populate the grid here:
sender, EventArgs e)
GridViewRelation relation =
relation.ChildTemplate = childTemplate;
radGridView1.DataSource = first_choice_mainDataSet.rep_info;
//radGridView1.AutoGenerateHierarchy = true;
radGridView1.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
Then I have tried to catch the cell change event here:
sender, GridViewCellEventArgs e)
IEditableObject editbaleObject = e.Row.DataBoundItem
DataRowView dataRowView = e.Row.DataBoundItem
var rowIndex = e.Row.Index;
(rowIndex == -1)
I am several hours in and not making any headway....please help!