Something like this, why don't you just just release the Select tag with options in your view?
<select id='ddlTrueFalse' name='ddlTrueFalse'> <option value='1'>True</option> <option value='0'>False</option> </select>
Then in your action add the parameter:
public ActionResult MyAction(string ddlTrueFalse) {
I had to make some of them, and I actually wrote this as an extension method for HtmlHelper, but it is much cleaner, it is easy to debug and faster for the site as a whole.
Russ Clarke
source share