ASP.NET MVC form GET passing array
Posted
by creativeincode
on Stack Overflow
See other posts from Stack Overflow
or by creativeincode
Published on 2010-06-08T11:01:55Z
Indexed on
2010/06/08
12:12 UTC
Read the original article
Hit count: 326
asp.net-mvc
|asp.net-mvc-2
I have a form with a collection of checkbox's for a refine search function on my website.
I am trying to pass an array in a form GET but the URL looks like:
/search?filter=foo&filter=bar&filter=green
Is there a better way to pass this in MVC? Possible like
/search?filter=foo,bar,green
Thanks in advance.
© Stack Overflow or respective owner