This is a migrated thread and some comments may be shown as answers.

filter Grid inside Combo

1 Answer 67 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dip
Top achievements
Rank 1
Dip asked on 28 Jan 2009, 02:49 AM
http://demos.telerik.com/aspnet-ajax/Controls/Examples/Integration/GridInCombobox/DefaultCS.aspx?product=grid

I looked at the example and got a multi select combo box working really great ..But now the client was a fast find (like google search)..There are around 200 item in the grid..Now as client  are starting to type, they wanting google search feature.. Every key he/she press I don't want limit my collection on the server side..So is there a way of binding of something on the clint side...
Oh ya ..I triied the masterTableView.filter("Name",Combo.get_text(),Telerik.UI....StartWith) which I did see in the documentation, but when I use this my grid comes up blank..So please suggest me ?Please remember My grid is inside a comboBox..

Thnaks,
DIP

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 30 Jan 2009, 03:37 PM
Hello Dip,

If you would like to filter the data in the grid (wrapped inside the combobox) on every key press when the user types in the combo input field, you will need to execute the logic from the OnClientDropDownOpening client handler of the combobox in its OnClientKeyPressing handler instead. Thus the data in the grid should be filtered each time a new character is entered/removed from the combobox input field.

Best regards,
Sebastian
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Dip
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or