I have a DropDownList:
<%: Html.DropDownListFor(
c => c.DataTextField,
Model,
"Please Select Contract",
new { id="selected-contract"}) %>
And I want to access the selected item id in a Html.ActionLink:
<%: Html.ActionLink(
"Add Contract Item",
"CreateContractItem",
"Contract",
[WHAT GOES HERE?],
new { @class="button"}) %>
Does anyone know how I access the selected item ID to pass to the Controller?