Click here to Skip to main content
15,885,032 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm using a DropDownList control with an AJAX ListSearchExtender within an UpdatePanel. Since I added the extender, the DropDownList's events are not firing until you tab out of the control or click enter. My users need to see the changes immediately without having to tab or press enter. Is there any way to accomplish this?
Posted

1 solution

It is not true the extender hide the events from the control. If you put a break inside your routine you may found the event handler code is running. If you want to update a control on a async postback which is not inside the update panel then look at this link http://msdn.microsoft.com/en-us/magazine/cc163354.aspx[^]

"My users need to see the changes immediately without having to tab or press enter"- How the control knows your user finished entering chars? There should be a way to tell it right...enter, tab, blur event etc.,
 
Share this answer
 
Comments
Lonnie Raffray 15-Apr-11 13:11pm    
Yes, the events are firing, but not until the user tabs or presses enter. I need them to fire immediately. And the controls I am updating are all in the same update panel.
Albin Abel 15-Apr-11 13:14pm    
Hi Lonnie Raffray which event you are expecting to fire before enter or tab?
Lonnie Raffray 15-Apr-11 13:15pm    
SelectedIndexChanged
Albin Abel 15-Apr-11 13:45pm    
SelectIndexChanged supposed run after user selects something. Usually that is by hitting the enter or tab or a mouse click. Which action you want to raise that event? I mean which action ensures user selected something. If you tell that we will try to help write a custom event.
Albin Abel 15-Apr-11 13:50pm    
If you want something to do when user types something you can use TextChanged event

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900