Try our conversational search powered by Generative AI!

How can we handle multiple HttpPost Action methods in a controller

Vote:
 

Hi,

I have a controller which contains multiple Http Post action methods invoked using multiple submit buttons. Generally, a page supports single submit button and that button can access the corresponding Action method referred in the Html.BeginForm ("ActionName", "ControllerName").

In MVC, i used to create Custom ActionNameSelectorAttribute to support multiple submit buttons. But with EPI server routing, thats not working and I found its mainly because EPI routing difference. 

Is there any solution for this issue? 

#149956
Jun 10, 2016 0:39
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.