I have two input type submit on my view.
<input type="submit" name="submitbutton1" value="Save">
2.<input type="submit" name="submitbutton2" value="Process">
My view is Manage.vbhtml and in that view i have a form with the above two submit buttons.
My controller is StaffController and 'Function Manage(item as staff,submitbutton1 as string,submitbutton2 as string) as ActionResult' is associated with the above view. When i click any of the two submit buttons i should be getting the value of that button in the string parameter, but it's giving me nothing. Please help me, i want to detect which submit button was pressed. The mentioned actionresult has <HttpPost> _
in the attribute.
I have followed as per this link but still no result.