Hi, I use a radgridview ,like this:
this.gridUserControl.gridview.ItemsSource = xmlElement.ChildNodes;
add a new dataitem to xmlElement...
this.gridUserControl.gridview.ItemsSource = xmlElement.ChildNodes; //rebinding
int i = gridUserControl.gridview.Items.Count;
XmlElement lastitem = (XmlElement)gridUserControl.gridview.Items[i - 1];
gridUserControl.gridview.SelectedItem = lastitem;
gridUserControl.gridview.BeginEdit();
I want to go in the edit status when add a new dataitem directly. It works well. But the problem is that I press any key the first time, the edit status will be ended. And the edit cell's value is the only the press key's value. That's inexplicable. Please help me to solve the problem ,thanks!