in my asp.net mvc view i have a select dropdown:
<select id="userRole" name="userRole" disabled="true">
when i submit the form to the controller, i have the following code:
[Authorize]
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Edit(FormCollection formCollection_)
{
string role = formCollection_["userRole"].ToString();
}
but when i look into the formCollection object there is no key for "userRole". Any idea why this would be?