Combobox change events [Resolved]
I have two comboboxes that are populated from a table (projects), in one case, and just adding items in another (months). The user can navigate through existing records and just view the data. Or, if they want, they can change the data, i.e. select a different project or month and save the changes. That works fine.
But say the user makes a change, forgets to save it, and clicks the button to move to the next or previous record. I want to prompt them to save the change, if they want.
The problem is that each time they advance or go back through the records, even if only viewing, the prompt comes up. I checked for a change in data in SelectedIndexChanged, but that fires when the record changes. Then I tried Click, but apparently that fires as well whenever the record changes.
Is there a way to only trap a change when the user actually changes it, not automatic events? Thanks.