I have a partial view with two buttons. The buttons will call different handler and update the partial view with the result. I managed to set the handler in the form and call one of the handler.
<form method="post" data-ajax="true" data-ajax-method="post" data-ajax-mode="replace" data- ajax-update="#dvx-p1704">
<div id="dvx-p001">
<partial for="P001" name="Partials/_Partial01" />
</div>
</form>
But how to I call different handler with the two buttons? I want to send the form in the call?
<div class="row">
<div class="col-sm-6">
<button type="submit" data-ajax="true" data-ajax-method="post" data-ajax-url="Groups/Update">Clean</button>
</div>
<div class="col-sm-6">
<button type="submit" data-ajax="true" data-ajax-method="post" data-ajax-url="Groups/Clean">Update</button>
</div>
</div>