@Html.DropDownList(
"Distance", ViewData["Radius"] as SelectList )
It renders the following HTML:
Ok, I think I had figured it out. My problem was that I was trying something like
@Html.DropDownList(
"Distance", ViewData["Radius"] as SelectList, new { data_bind = "optionsValue: studentSearchRequest.Radius" })
with the only difference being that I had to use "data_bind" insted of "data-bind" even though it's the "data-bind" that's the Knockout.js construct. I'm not sure if my overall approach will work, but at least the correct HTML , i.e
<select id="Distance" name="Distance" data-bind="value: SearchRequest.Radius">
is rendered in this case.