Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
905
Enter on Closed XamComboEditor => RecordUpdated Event
posted

Hi,

We have a grid which contains some editable XamComboEditors. I'm having trouble getting them to behave the same way as other fields in the grid. Currently, if the user hits enter on text fields, it acts to "commit" the record, firing the RecordUpdated event, which calls a Save method which posts everything back to the DB.

My issue is that enter on a XamComboEditor selects a drop down value when it's open, and appears to do nothing when it's closed. I don't want to automatically commit to the database whenever the user selects a value, but I do want to after they select something and hit enter on the closed box. I'm thinking the workflow would either be mouse select a value -> enter -> saved grid OR enter select a value -> enter again -> saved grid.

Suggestions welcome!