Hello,
is it possible to Add the Upload Component in the Wizard. I tried it by myself but if i upload a file i get two files. My Issue is the Same like this:
https://stackoverflow.com/questions/54467957/kendo-upload-duplicating-file-after-initial-file-selection
Can Somebody post a code snippet?
Here is my test:
<div id=
"wizard"
>
<div>
<h1>Upload Labeling File</h1>
@(Html.Kendo().Upload()
.Name(
"files"
)
.Async(a=> a.SaveUrl(
"./Masterdata/LabelExport?handler=Save"
)
.RemoveUrl(
"./Masterdata/LabelExport?handler=Save"
)
)
.Validation(validation => validation.AllowedExtensions(
new
string
[] {
".json"
}))
.Validation(validation => validation.MaxFileSize(2000000))
)
<h3>Click
"Next"
</h3>
</div>
<div>
<h1>Personal data</h1>
<form
class
=
"k-form"
>
<div
class
=
"k-form-container"
>
<div
class
=
"k-form-field"
>
<label>Name: <input type=
"text"
id=
"drop"
></label>
</div>
<div
class
=
"k-form-field"
>
<label>Surname: <input type=
"text"
></label>
</div>
</div>
</form>
</div>
<div>
<h1>Contacts data</h1>
<form
class
=
"k-form"
>
<div
class
=
"k-form-container"
>
<div
class
=
"k-form-field"
>
<label>Telephone: <input type=
"text"
></label>
</div>
<div
class
=
"k-form-field"
>
<label>Mail: <input type=
"text"
></label>
</div>
</div>
</form>
</div>
</div>
<script>
$(
"#wizard"
).kendoWizard({
steps: [{
title:
"Welcome"
,
}, {
title:
"Personal Details"
,
}, {
title:
"Contact Details"
}]
});
</script>