POST an Ajax form from a Kendo UI window
02:53 06 May 2013

To edit a record, I'm opening a modal Kendo UI window populated with a partial view containing an AJAX enabled form:

@model MVC_ACME_Hardware.Models.BaseModel



@using (Ajax.BeginForm("EditProduct", new AjaxOptions { UpdateTargetId = "ProductDiv", OnSuccess = "SomeMethod" }))
{
    @Html.ValidationSummary(true)

    
EmployeeFTE @Html.HiddenFor(model => model.Products.Product_ID)
@Html.LabelFor(model => model.Products.Product_Name)
@Html.EditorFor(model => model.Products.Product_Name) @Html.ValidationMessageFor(model => model.Products.Product_Name)
}

When I run the form and click 'Save' on the popup, the form posts successfully but the post is not done via AJAX and my 'SomeMethod' onsuccess method is not being called. I've tried adding...


...on the partial view but it did not help. How can I get my form to submit using AJAX? I'm missing something obvious. Thanks!

kendo-ui ajax.beginform