Pressing Enter in ComboBox does not fire either selectedindexchanged or textchanged events
Posted on 2012-03-23
User has to hit the ENTER key twice to have a formview update with the typed item within an ComboBox
Once user types the name of the item list and hits ENTER, the formview should update with the updated information
- Located within <form> section and outside of formview
- AutoPostback = "True"
- DropDownStyle = "DropDownList"
Current VB Code:
Private Sub ComboBox_Guest_KeyDown(ByVal KeyCode As Integer, ByVal Shift As Integer)
If KeyCode = 13 Then