winforms - Can I stop a .Net BindingSource automatically navigating to a new record? -


Using a binding source attached to an Observe Convention is Cambodia displaying items in my collection. Visual Studio includes a binding navigator automatically, so I've also enabled some features on it. Use the Add button to add a new item; Cockbox automatically selects new item. I believe this because BindingSource has shown the fact to update it that its current object has changed. my question is; Can I stop navigating the bindings automatically, and when I do not want it, can I change the selection? If I can escape from it, then I do not want to force Cambodia or BindingSource to retain it.

I do not think you can avoid that behavior, if you use automatic binding resources If you want me to think you are stuck with it. If you try to find a hack to solve this problem, you may also participate in too many issues. My solution will be to manually bond the combobox, and use the automatic bond to control the data used to actually add and modify the data.


Comments