How do I accept an array as an ASP.NET MVC controller action parameter?
The default model binder expects this url: http://localhost:54119/Designs/Multiple?ids=24041&ids=24117 in order to successfully bind to: public ActionResult Multiple(int[] ids) { … } And if you want this to work with comma separated values you could write a custom model binder: public class IntArrayModelBinder : DefaultModelBinder { public override object BindModel(ControllerContext controllerContext, ModelBindingContext bindingContext) { var value … Read more