suppose you have two buttons on your UI
<fieldset class="ui-grid-a">
<div class="ui-block-a">
<input type="submit" name="add" value="add" data-role="button" />
</div>
<div class="ui-block-b">
<input type="submit" name="edit" value="edit" data-role="button" />
</div>
</fieldset>
and in your controller
[HttpPost]
public ActionResult accept(FormCollection frm)
{
if (frm[3].ToLower() == "add")
{
}
else
{
}
return View();
}
}