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

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -