In my mvc application, In the login page when submitting the form (after entering user name and password) I want to show a pop up window ( a partial view) where I want to select the user role ( gets from database and show in a dropdownlist) and when selecting a role, it should redirect to Dashboard. How can I show a pop up when submitting a form in mvc
what I have done is in login page instead of submit button, on click I have called a jquery function to show pop up, and in that i have used the second partial view to select the roles, but it is not working as we expect, we have to show pop up when submitting the login form.
thanks