How do I maintain a selection in my MVC 5 view's dropdownlist while paging?
问题 I have an MVC 5 view with a search filter textbox, a search filter date dropdownlist, several sortable columns and using PgedList. Everything is working perfectly except I would like the DropDownList to maintain it's selection as the results are navigated from page to page. The filtering by the date Dropdown works just fine and is retained from page to page but I haven't figured out how to stop the dropdown list from reverting to the top selection "All" on subsequent pages (even though the