You need to use unserscore ( _ ) in the name of your attribute, and the Ajax.BeginForm (in fact, all HTML helpers replace the unserscore dash in the specified parameters of the htmlAttributes object) will automatically replace its dash ( - )
new { data_bind="submit: save", @class="employeeListEditor" }
And you need to use the Ajax.BeginForm overload , which accepts htmlAttributes, like this one :
<% using (Ajax.BeginForm( "GetCalendar", // actionName null, // routeValues new AjaxOptions { UpdateTargetId = "siteRows" }, // ajaxOptions new { data_bind="submit: save", @class="employeeListEditor" } // htmlAttributes )) {%>
source share