Completed
Last Updated: 30 Aug 2023 14:07 by ADMIN
Release R2.2023-Increment.1(15.Mar.2023)
Lara
Created on: 20 Feb 2023 08:01
Category: FileManager
Type: Bug Report
0
The AllowedExtensions configuration for the Upload in a FileManager component is not exposed.

Bug report

The AllowedExtensions configuration for the Upload in the FileManager is not exposed and allowed extensions cannot be configured.

Reproduction of the problem

The following configuration for the Upload in a FileManaget is not supported:

@(Html.Kendo().FileManager().Name("filemanager")
    .Upload(upld=>upld.Validation(val=>val.AllowedExtensions(new string[] { ".doc" , ".jpg" })))
)

while it is available in a standalone Upload component:

    @(Html.Kendo().Upload()
        .Name("files")
        .Validation(validation => validation.AllowedExtensions(new string[] { ".pdf" }))
    )

Expected/desired behavior

The allowed extensions should be configurable in the FileManager

Environment

  • Kendo UI version: 2023.1.117
  • Browser: [all]
0 comments