Link to home
Start Free TrialLog in
Avatar of danielolorenz
danielolorenz

asked on

Using MVC How Do Get the C# Controller to Know Which Button You Clicked?

I am working on a MVC project.  When I click the New Button.  I want the controller to recognize the button I clicked.  I have both a New Button and a Save Button.  How do you pass back to the controller the button id that was clicked on?

Thanks,

Dan
SOLUTION
Avatar of Duy Pham
Duy Pham
Flag of Viet Nam image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial