Click here to Skip to main content
15,889,462 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I've created an web application application using C# that is linked to a database of products. I am using the auto-complete extender to retrieve only the Product ID's displaying them dropdown style on a textbox. I want to execute a method that will retrieve the values linked to the product ID selected on selection of a product ID. I've looked at the Keydown event but it does not seem to work when I press the enter key. I'm using visual studio 2010

Thank you in advance
regards
Posted
Comments
[no name] 29-Jul-12 8:31am    
So? Go ahead and do it. There is no question stated here, no code the demonstrates any kind of problem.
Kenneth Haugland 29-Jul-12 8:33am    
You should also specify if you are using WinForms or WPF.
mlingo209 29-Jul-12 10:13am    
my behind page does not recognize this code
protected void tb_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
//enter key is down
}
}
mlingo209 29-Jul-12 10:15am    
is there something else that I should do? after typing in textbox the user should be able to see the details of that product.

1 solution

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