How to search listbox entry according to the textbox value
-
Hi all, I am using Visual Studio 2005 and .net 2.0. I want to scroll down the listbox items according to the value in the textbox entry. For example, if we type "a" in the textbox, the listbox entries which starts from "a" should be listed. Is it possible with dropdown list control? Shall we add items to dropdownlist controls at runtime? Please guide me. Thanks.
-
Hi all, I am using Visual Studio 2005 and .net 2.0. I want to scroll down the listbox items according to the value in the textbox entry. For example, if we type "a" in the textbox, the listbox entries which starts from "a" should be listed. Is it possible with dropdown list control? Shall we add items to dropdownlist controls at runtime? Please guide me. Thanks.
kandalu wrote:
Shall we add items to dropdownlist controls at runtime?
Yes or you could sort them by the letter a. A query would help you here so that when you populdate the dropdownlist from the database you can select by and order by the letter 'a' for example.
The answers posted by me are suggestions only and cannot be used in anyway against me.
-
Hi all, I am using Visual Studio 2005 and .net 2.0. I want to scroll down the listbox items according to the value in the textbox entry. For example, if we type "a" in the textbox, the listbox entries which starts from "a" should be listed. Is it possible with dropdown list control? Shall we add items to dropdownlist controls at runtime? Please guide me. Thanks.
You can use javascript base XMLDOM approch (AJAX) to achieve the task :):)
Thanks & Regards Pete
-
You can use javascript base XMLDOM approch (AJAX) to achieve the task :):)
Thanks & Regards Pete