This question is locked. New answers and comments are not allowed.
Using Telerik grid control for MVC (not radgrid I believe).
I am wondering if say I have a grid on the screen which is to be bound on a view model (the model contains properties), and I wish to NOT initially bind data on the grid, but instead present the user with an empty grid - I want the user to be able to type in on a column of their choice, to search based on that column.
How would I be able to do this? (keeping as much of the IQueryable as possible)
so lets say I have this ViewModel:
ItemID
ItemName
ItemDescription
ItemCreatedAt
These are my columns on the Telerik MVC Grid. The grid displays initially with no data. great.
Now, if the user types in the column "ItemName" for a value of "Batteries" or "Lights", I want to be able to query my DB for these search and bring back the results and display it. So the columns on the grid will be a searchable filter
how can I easily, and quickly, do this?
I am wondering if say I have a grid on the screen which is to be bound on a view model (the model contains properties), and I wish to NOT initially bind data on the grid, but instead present the user with an empty grid - I want the user to be able to type in on a column of their choice, to search based on that column.
How would I be able to do this? (keeping as much of the IQueryable as possible)
so lets say I have this ViewModel:
ItemID
ItemName
ItemDescription
ItemCreatedAt
These are my columns on the Telerik MVC Grid. The grid displays initially with no data. great.
Now, if the user types in the column "ItemName" for a value of "Batteries" or "Lights", I want to be able to query my DB for these search and bring back the results and display it. So the columns on the grid will be a searchable filter
how can I easily, and quickly, do this?