File Manager refresh changes the selected item.
Refresh should not change the selected item if it is available after refresh.
If the selected item is not available after refresh, Preview pane should show No File Selected.
https://demos.telerik.com/aspnet-core/filemanager
Select Documents folder in Tree View then Excel Document in List View. Excel Document is shown in the Preview pane.
Refresh the File Manager using jQuery in Console.
$("#filemanager").getKendoFileManager().refresh()
Excel Document is not selected and Preview pane shows Documents.
Refresh changed the selected item.
Selected file does not change after refresh.
Example Windows File Explorer. Select a file in the folder and press F5 to refresh the folder.
FileManager calls Create and Destroy instead of Update on move.
That is not what happens in the file system. Move is Update operation where the location of the item is updated. No files are copied or deleted.
Copying files and directories unnecessarily wastes the resources on the server and the cloud where computing and storage operations are charged.
If Destroy fails which might happen because Create and Destroy are executed separately then files are copied and not moved.
Move calls Update.
Bug report
For the Telerik Scheduler Timeline View, since the update from somewhere in between version 2022.3.1109 to 2024.2.154, a custom timeline view cannot be selected if the view name has dot(s) in its name (e.g. "kendo.ui.customTimelineView").
Reproduction of the problem
Add a custom Timeline View by extending the kendo.ui.TimelineView
Current behavior
Unlike older versions (I know that it worked with version <= 2022.3.1109, but don't know when exactly it was introduced) now the ui blocks, when the custom select view button is clicked. Specifically, the problem is in kendo.scheduler.js at line 4554:
var viewElementToSelect = that.toolbar.find("[" + kendo.attr("name") + "=" + name + "]");
Expected behavior
In this code line, the find method does not work when the variable "name" contains something like "kendo.ui.CustomTimelineView". As a solution, I suggest escaping the name beforehand:
var nameEscaped = $.escapeSelector(name); var viewElementToSelect = that.toolbar.find("[" + kendo.attr("name") + "=" + nameEscaped + "]");