How to use ajax to post Kendo upload files to controller
<p>When i use ajax to post the form data to controller, i cannot get the files when using Kendo upload. I used IEnumerable but i only can get the date value and the file is null. May i know how to make it work? Thanks.
(I use ajax because i need call the onsuccess event)</p>

<p>//Here is the form control in view</p>

<pre><code>&lt;div class="editForm"&gt;
@using (Html.BeginForm("UpdateReportFix", "Defect", FormMethod.Post, new { id = "form" }))
{
    @Html.HiddenFor(model =&gt; model.DefectFixID)
    &lt;div&gt;
        @Html.Label("Report Date")
    &lt;/div&gt;
    &lt;div&gt;
        @(Html.Kendo().DatePickerFor(model =&gt; model.ReportDate)
                      .Name("ReportDate")
                      .Value(DateTime.Now).Format("dd/MM/yyyy")
                      .HtmlAttributes(new { @class = "EditFormField" })
        )
        @Html.ValidationMessageFor(model =&gt; model.ReportDate)
    &lt;/div&gt;

        &lt;div&gt;
            @Html.Label("Photos")
            &lt;br /&gt;
            &lt;span class="PhotosMessage"&gt;System Allow 2 Pictures&lt;/span&gt;
        &lt;/div&gt;

        &lt;div class="k-content"&gt;
            @(Html.Kendo().Upload()
                .Name("files")  &lt;-----i cannot get this value in controller
            )
        &lt;/div&gt;

            &lt;br /&gt;
            &lt;div class="col-md-12 tFIx no-padding"&gt;
                @(Html.Kendo().Button().Name("Cancel").Content("Cancel").SpriteCssClass("k-icon k-i-close"))
                @(Html.Kendo().Button().Name("submit").Content("Submit").SpriteCssClass("k-icon k-i-tick"))
            &lt;/div&gt;
}
</code></pre>

<p></p>

<p>//script</p>

<pre><code>$('form').submit(function (e) {
    e.preventDefault();
    var frm = $('#form');
    $.ajax({
        url: '@Url.Action("UpdateReportFix")',
        type: 'POST',
        data: frm.serialize(),
        beforeSend: function () {
        },
        onsuccess: function () { },
        success: function (result) { },
        error: function () { }
    });
});
</code></pre>

<p></p>