I want to an autocomplete dropdown control in the ultrawebgrid cell in edit mode, so user can type the data and value is filled in automatically if exists, invalid data should not be permitted. is this possible? I don't want to use webcombo, it is too heavy and I don't need a multi-column dropdown. I want a simple dropdownlist, but the ability for the user to type just like Google suggest, but all the values cached on the client, no roundtrip to server on each key stroke.
the control should be like the following one
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/ComboBox/ComboBox.aspx
thanks,
RK
Best Answer
I have been able to accomplish something like what you want. Here is what I did, but I don't know if it works into the Infragistics package:
1- I downloaded the JQuery UI autofill textbox 2- I modified a little bit the sample given on the site. 3- I applied something to modify all my dropdown having a class named XYZ for the auto complete. I used a delegate, so when it generate a dropdown on the UI, it replaces it automatically by my autofill textbox.
Sorry if my english is not perfect, it is not my first language.
here's some code (Note: In the sample I haven't used the live() or delegate() function):
I hope this helped