I want to use this control because of the search capability. I want the user to look up an item based off its code or description. This works just fine. Once the user finds the item they want, I need to add it to a grid. This functionality works. Here is the problem. I need to get the value of what's clicked or the value when they hit enter or tab. SelectedIndexChanged fires off on everything. This causes unwanted items to be added to the grid. I only want the items added if the user clicks on it or hits tab or enter. SelectedIndexChanged fires off on up and down arrows and so on. How can I get the value of what's actually clicked? Click and mouseclick do not work because it fires off for the list box click only and not the underlying grid.
Anyone have any ideas on how to only get what the user clicks on and not ever item when SelectedIndexChanged fires?
Anyone have any ideas on how to only get what the user clicks on and not ever item when SelectedIndexChanged fires?