mardi 5 mai 2015

MVC: Can I post to a controller without using javascript/ajax/jquery?

The problem is I want to change server side variables using a dropdownlist in a partial view. You can't use scripts in partial views.

Is an html helper I can use to post a simple variable to a controller (like an int) when the user clicks an item in the dropdownlist (or bootstrap dropdown)?

Aucun commentaire:

Enregistrer un commentaire