Hi Tom,
Thanks for contacting Syncfusion support.
You can achieve this requirement by using “HtmlAttributes” API in Button EJHelper.
Please refer the below code example:
@{
Dictionary<string, object> btnAttributes = new Dictionary<string, object>();
btnAttributes.Add("formaction", @Url.Action("Change", "Form"));
}
<div>
@using (@Html.BeginForm())
{
@Html.EJ().Button("submit_button").Text("Submit").ShowRoundedCorner(true).HtmlAttributes(btnAttributes).Type(ButtonType.Submit)
}
</div>
|
Please let us know if you need any further assistance.
Regards,
Deepa L.