This is a migrated thread and some comments may be shown as answers.

Programmatically Update Child GridViewComboboxColumn Cell Value

1 Answer 156 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Abdullah
Top achievements
Rank 1
Abdullah asked on 24 Jul 2012, 09:39 AM
Hello,
I use RadGridview in my project. I use unbound mode and giving datasource to grid from a collection. I have one gridview template, each row has child rows. In child rows, there is a  GridViewComboboxColumn.

My problem is, i am trying to update child row GridviewComboboxColumn value programmatically on CellEndEdit event of grid. I edit the column, i see its edited in debug, but the changes doesnt display in the cell. Why changes doesnt display, how can i make it display?

1 Answer, 1 is accepted

Sort by
0
Svett
Telerik team
answered on 25 Jul 2012, 02:02 PM
Hi Abdullah,

I did not manage to reproduce the issue with the supplied information. I have used the following code snippet to emulate your scenario:
void radGridView1_CellEndEdit(object sender, GridViewCellEventArgs e)
{
    e.Row.Cells[e.Column.Name].Value = "Telerik Corp";
}

Could you share with us code snippets that show your scenario? All the best,
Svett
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
GridView
Asked by
Abdullah
Top achievements
Rank 1
Answers by
Svett
Telerik team
Share this question
or