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

adding filters to grid on open

1 Answer 40 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
neal
Top achievements
Rank 1
neal asked on 08 Apr 2012, 01:11 PM
Hi
I have enabled filtering on a grid but i want to have some preset filters that I can put on a grid automatically.

So say there are three different sets of data that you can view on the same grid all with a different set of filters on the same set of fields.

A user will open the page from a different link and the related set of filters will be on the fields.  I dont want to change the dataset that the grid is bound because i want the user to have the option to change the filters as they wish, i just want to automatically add filters.

I hope that is clear.

Thanks a lot in advance

1 Answer, 1 is accepted

Sort by
0
neal
Top achievements
Rank 1
answered on 08 Apr 2012, 09:17 PM
http://demos.telerik.com/aspnet-mvc/razor/Grid/Filtering?theme=vista
Tags
Grid
Asked by
neal
Top achievements
Rank 1
Answers by
neal
Top achievements
Rank 1
Share this question
or