ASP.NET MVC 3 - Filtering list with multiple fields -
i have list of assets displayed in html table, data model these quite complicated; each have manufacturer/model pair, location , status name few.
to filter 1 field, simple along lines of
@html.actionlink(item.locationname, "index", new { locationid = item.locationid.tostring() }, null)
this produce url looking
hxxp://localhost/assets/index?locationid=3
the problem arises when trying filter both multiple different fields , multiple similar fields, cannot seem find way produce urls like
hxxp://localhost/assets/index?locationid=3,4
or
hxxp://localhost/assets/index?locationid=3&status=active
i may trying treat mvc webforms don't see way of passing these combinations of filtered fields controller produce table shows data end user wants see.
you can try sprint.filter
Comments
Post a Comment