Hi,
I have requirement where I need to display records from databaase in a textbox based on search text. When ever a value selected, I need to validate that input is only from the results produced by database query.
If 5 product names are returned by web service in TextBox AutoCompleteExtender, user should be able to select one from those only. Currently, I can get the list and display in TextBox but can not validate them.
I have seen a webpage which is developed in ASP.NET and fires event based on the search result from textbox. Example. If user search Invoice from list, upon selecting autocomplete result, form loads the invoice.
Please share idea about applying this validation and share if some piece of code.