• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1171
  • Last Modified:

Pressing Enter in ComboBox does not fire either selectedindexchanged or textchanged events

Gurus,

Issue:
User has to hit the ENTER key twice to have a formview update with the typed item within an ComboBox

Desired Results:
Once user types the name of the item list and hits ENTER, the formview should update with the updated information

Setup:
AJAX ComboBox
- Located within <form> section and outside of formview
- AutoCompleteMode="SuggestAppend"
- AutoPostback = "True"
- DropDownStyle = "DropDownList"

Current VB Code:
Private Sub ComboBox_Guest_KeyDown(ByVal KeyCode As Integer, ByVal Shift As Integer)

        If KeyCode = 13 Then
            Call DatabindFormView()
        End If

End Sub
0
acancel
Asked:
acancel
  • 2
1 Solution
 
CodeCruiserCommented:
Try moving the keydown event to javascript and doing a postback if keycode is 13.
0
 
acancelAuthor Commented:
how would i do that. i apologize for delay, was out of the country
0
 
Amandeep Singh BhullarCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now