如何使用jquery刷新kendo上传器小部件

时间:2018-04-26 10:02:09

标签: kendo-ui

kendo uploader可以正常上传,但是在表单提交后,kendo上传程序会在html中保存某些数据(kendo上传状态)。如何使用jquery刷新kendo上传器?。

我需要下面这样的东西。用Google搜索但没有希望。

$(".k-upload").data("kendoUpload").refresh();

1 个答案:

答案 0 :(得分:2)

showfilelist默认设置为true。将其设置为false。

https://docs.telerik.com/kendo-ui/api/javascript/ui/upload/configuration/showfilelist