I am using a drop down list in my MVC app to select from a set of areas for editing or creating an entry
the code looks like this:
<%= Html.DropDownList("LocationID", ViewData["Areas"] as SelectList) %>
ViewData["Areas"] = new SelectList(AreaHelper.Areas, tablet.LocationID);
I am having issues with saving and updating the current locationID to the new selected value of the DDL, also when choosing the selected item on load when editing a current entry
any pointers?