Unplanned
Last Updated: 23 Apr 2020 11:30 by ADMIN
Created by: Stig
Comments: 1
Category: FileManager
Type: Bug Report
3

I'm trying to use the delete context method, but when selecting multiple folders and deleting them it sends the same delete request multiple times. The more folders (no subfolders) I try to delete the more requests it sends.

 

My theory is that the datasource somehow doesn't register it has been deleted, so it tries to automatically sync the datasource by sending it again. Note that I'm using a virutal filesystem, but I'm returning the same object as in this sample

 

Also note that I'm using a mix of MVC and Jquery so I have a custom scheme as recommended in some of my previous tickets.

 

This is scheme:

$.extend(true, kendo.data, { schemas: { "filemanager": { data: function (data) { return data.Items || data || []; }, model: { id: "path", hasChildren: "hasDirectories", fields: { entryId: { field: "EntryId", editable: false, type: "Number" }, folderId: { field: "FolderId", editable: false, type: "Number" }, name: { field: "Name", editable: true, type: "String", defaultValue: "New Folder" }, size: { field: "Size", editable: false, type: "Number" }, path: { field: "Path", editable: false, type: "String" }, extension: { field: "Extension", editable: false, type: "String" }, isDirectory: { field: "IsDirectory", editable: false, defaultValue: true, type: "Boolean" }, hasDirectories: { field: "HasDirectories", editable: false, defaultValue: false, type: "Boolean" }, created: { field: "Created", type: "Date", editable: false }, createdUtc: { field: "CreatedUtc", type: "Date", editable: false }, modified: { field: "Modified", type: "Date", editable: false }, modifiedUtc: { field: "ModifiedUtc", type: "Date", editable: false } } } } } });


        $("#document-manager").kendoFileManager({
            dataSource: {
                transport: {
                    read: {
                        type: "post",
                        url: "/FileManager/Read",
                        data: function() {
                            return getFileMetaData()
                        }
                    },
                    update: {
                        type: "post",
                        url: "/FileManager/Rename",
                    },
                    create: {
                        type: "post",
                        url: "/FileManager/Create",
                        data: function () {
                            return getFileMetaData()
                        }
                    },
                    destroy: {
                        type: "post",
                        url: "/FileManager/DeleteEntry"
                    }
                },
            },
            contextMenu: {
                items: [
                    { name: "rename" },
                    { name: "delete" }
                ]
            },
        });

 

And lastly my C# controller method which deletes the folder and returns the same object as in the above mentioned sample:


        [HttpPost]
        public async Task<ActionResult> DeleteEntry(FileManagerEntry deleteDto)
        {
            await _fileManagerService.DeleteEntry(deleteDto);

            return Json(new object[0], JsonRequestBehavior.AllowGet);
        }

 

You can also see in this screencast that it sends the delete request multiple times for the same entry:

https://screencast-o-matic.com/watch/cYfolKzXZs

 

Unplanned
Last Updated: 08 May 2020 15:17 by ADMIN
Created by: Dorothy
Comments: 0
Category: FileManager
Type: Feature Request
1

I'd like to request the ability to hide and display certain files.  For example, hide all pdfs, but show docx files.

Thanks!

Unplanned
Last Updated: 31 Jan 2020 15:26 by ADMIN

Context: my communication with the back-end is wrapped in a library, that handles the xhr requests and if needed, throws a custom exception. My transport is therefore made of functions. The sample below simulates getting an error from that library.

Demo: https://dojo.telerik.com/@GaloisGirl/ayEpOKOQ/2

Actual result:

  1. The confirm dialog stays open.
  2. The listView is displayed as loading.

 

Unplanned
Last Updated: 30 Jan 2020 09:30 by ADMIN
Created by: Anna
Comments: 1
Category: FileManager
Type: Bug Report
1

This one is a bit complex:

  1. Run sample at https://dojo.telerik.com/@GaloisGirl/IPAMIHik
  2. Enter folder "Documents"
  3. Delete "ExcelDocument.xslx" - the operation should fail and the file will come back.
  4. Delete "Text.txt" - no request is sent, the file does not come back

Any "delete" operation can be replaced by a "rename" operation, and the result is the same.

The problem does not happen at root level. I don't know if it's because it's the root levels, or because the elements are directories.

Unplanned
Last Updated: 17 Feb 2020 09:29 by ADMIN
Created by: Extreg
Comments: 1
Category: FileManager
Type: Feature Request
1

Dear,

 

In the filemanager we can use the icon property in the toolbar.

toolbar.items.icon String

Sets icon for the item. The icon should be one of the existing in the Kendo UI theme sprite.

 

Is it possible to implement this also for the context menu now it uses next property.

contextMenu.items.spriteCssClass String

Specifies the spriteCssClass of the item.

 

It's easier to make use of the icon class then the spriteCssClass.
Is this a possible feature?

Kind regards,
ITwIT

 

Unplanned
Last Updated: 12 Mar 2020 06:19 by ADMIN
Created by: Extreg
Comments: 3
Category: FileManager
Type: Feature Request
1

Dear,

We are trying to make the FileManager compatible with mobile.
Could there be extra configuration so it hides certain properties of widgets?

An example if mobile:

- Hide the text in the Toolbar
- Hide the TreeView
- Optional hide the search bar and details options

Or are there other possibilities on the roadmap?

Kind regards,
ITwIT

 

Unplanned
Last Updated: 11 Feb 2020 09:33 by Extreg

Bug report

Reproduction of the problem

Reproducible in the demos.

  1. Select the Images folder in the treeview
  2. Right click the Images folder and rename it

Current behavior

The breadcrumb does not update with the new folder name. Note that if you select another folder (e.g. Documents) after renaming Images and navigate back to the renamed folder the breadcrumb properly displays its new name.

Expected/desired behavior

The change in the folder name is reflected in the breadcrumb.

Environment

  • Kendo UI version: 2020.1.114
  • jQuery version: x.y
  • Browser: [all]
Unplanned
Last Updated: 18 Feb 2020 09:44 by Stig

Bug report

Reproduction of the problem

Dojo example.

  1. Click on "Folder" in the treeview

Current behavior

The file in the selected folder is displayed as "undefined"

Expected/desired behavior

The file data is properly retrieved and displayed.

A workaround is available in this dojo example: https://dojo.telerik.com/ORImIvaC

Environment

  • Kendo UI version: 2020.1.114
  • jQuery version: x.y
  • Browser: [all]
Unplanned
Last Updated: 25 Feb 2020 08:33 by ADMIN
Created by: Lorenzo
Comments: 1
Category: FileManager
Type: Bug Report
0

Hi,

I've tried to configure resizable columns in File manager grid like in the following 

sample

It works, but I got a confirm popup panel when I try to resize ...

What's wrong ..??

 

Thanks

Unplanned
Last Updated: 16 Mar 2020 06:17 by ADMIN

There is no padding between semicolon and the data "Type:Folder" wouldn't be better "Type: folder" with a space in between?

Unplanned
Last Updated: 20 May 2020 12:28 by ADMIN
Created by: ColinBlakey
Comments: 1
Category: FileManager
Type: Feature Request
0
The search field is more like a real time filter in that you can start typing a filename and it limits the files to those starting with the specific characters. But it fails in search if I start with something like *.csv i.e. find all csv files or if I have files like Text.V1.csv as soon as a get to the first period it fails.  So it's not really a search. CAn this be changed to handle wildcards, periods, etc.
Unplanned
Last Updated: 17 Apr 2020 07:40 by ADMIN
Created by: ColinBlakey
Comments: 0
Category: FileManager
Type: Feature Request
0
When you are looking at a folder structure in file manager. Typing a Filename and only searching at the current folder seems contradictory to normal search behavior which traverses both the current folder and sub folders to find that name. Can we add a search methods that calls the API to search.
Unplanned
Last Updated: 08 May 2020 09:21 by Stig

Bug report

When the FileManager is initialized with a local data source the Context Menu is not displayed.

Reproduction of the problem

  1. Run this dojo
  2. Right-click on a folder of a file

Current behavior

The context menu is not displayed. The Context menu is not expected to be displayed for the built-in rename and delete commands, but a context menu is not displayed when custom commands are implemented.

Expected/desired behavior

A context menu should be displayed when local data source is used.

Environment

  • Kendo UI version: 2020.1.406
  • Browser: [all]