To reproduce: - Add RadBindingNavigator, RadDataEntry and RadGridView to a form. - Bind them to the same BindingSource. - Add a new row with the binding navigator. - The data entry still dispalys the previous record. Workaround: radBindingNavigator1.BindingNavigatorElement.AutoHandleAddNew = false; radBindingNavigator1.BindingNavigatorElement.AddNewButton.Click += AddNewButton_Click; void AddNewButton_Click(object sender, EventArgs e) { employees.AddNew(); source.ResetBindings(false); }
Hi Erik, could you please elaborate on your suggestion. Is it addition to the workaround and where it should be added? Thank you.
Add the following line to set focus on the new item: bindingSource1.MoveLast();