How do I call server side code for textbox’s in asp.net when user presses enter key? Code behnid method is creating a dynamic control based upon a LINQ query from data table.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The textbox has a TextChanged event that will fire when the focus leaves the textbox. If this isn’t good enough for you, your going to need to use javascript and the onkeypress event.
As there’s no description of what your doing after the event, I’m not sure what to offer as sample code.