Is it possible to submit a form on a view to the controller with a parameter?
My controller action is:
public ActionResult Index(BusinessObject busObj, int id = 0){
return RedirectToAction("Index", new {businessObj = busObj, search = id });
}
I have a submit button, but i also have dropdownlists that post back to the controller so that the values can be filtered. I am trying to distinguish between the events using the id parameter. My intuition tells me that this involves routing, but im not sure what approach to take. Insight is welcome :D