I have two textboxes. One is to type CustomerId
and other one is to display customer name.
What I want to do is: I want to get the search result to the CustomerName
textbox while I am typing in CustomerId
(get relevant customerName related to the CustomerId
). This is not autocomplete. I want get the result without pressing enter in the textbox or pressing a button.
What is the best way to do this. I have used the textbox_textchanged
event. Are there any other better way to do this? I am using Entity Framework.