Dear friends at Syncfusion,
I don't know if this has been reported yet, but we've find out that we're unable to use Uploader component in Safari
This is my simple form:
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.HiddenFor(model => model.ProjectID)
@Html.HiddenFor(model => model.DocumentType)
<div class="form-group">
@Html.LabelFor(model => model.Path, htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.Path, new { htmlAttributes = new { @class = "form-control", @readonly = true } })
@Html.ValidationMessageFor(model => model.Path, "", new { @class = "text-danger" })
</div>
</div>
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
@Html.EJS().Uploader("UploadFiles").EnablePersistence().Render()
</div>
</div>
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
<input type="submit" value="Upload" class="btn btn-default" />
</div>
</div>
</div>
}
And this is the corresponding controller action signature:
public ActionResult Create(IEnumerable<HttpPostedFileBase> UploadFiles, [Bind(Include = "DocumentID,ParentID,Path,Name,Created,AuthorId")] Document documentInput)
}
When posting the form in Safari, no files are actually send to UploadFiles, and it remains empty.
The same thing works fine in Chromium-based browser and in Firefox.
Is this some known issue?
Currently using Syncfusion EJ2 v. 18.2500.0.46
Thank you for your advise.
Petr