Click here to Skip to main content
15,889,216 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
i create windows application my form contain gridview .gridview is list of collection when i type keyword or alphabetic in gridview then directly show that keyword related document in gridview please help me
Posted
Comments
Animesh Datta 18-Jun-15 2:12am    
what have u tried ?
Sinisa Hajnal 18-Jun-15 4:10am    
If gridview has focus, use keydown to filter the grid. Use timer to clear the search term (since you have no UI to clear).

Note that this is not a good feature / design as there are no clues to users that could help them. How would they even know they can search the grid?

Imagine simple typing error and confusion why the grid is empty for common search term. Add the textbox, put a small button next to it and react on enter or button click. Or add empty row at the top and filter by the column and typed text. Make the search visible somehow.
Arkadeep De 19-Jun-15 3:28am    
idea is good...but add some thing to make it better as Sinisa advised. And Grid key down will do the work...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900