When using the following configuration an error is thrown, thus making it unable to set the Grid columns:
<kendo-filemanager name="filemanager" upload-url="@Url.Action("Upload", "FileManagerData")">
<views>
<grid>
<columns>
<column field="name"></column>
</columns>
</grid>
</views>
</kendo-filemanager>
When using the FileManager initialized using the TagHelper and renaming nested folders a 404 error is thrown.
A 404 - File or directory not found is returned
The folder should be renamed
The AllowedExtensions configuration for the Upload in the FileManager is not exposed and allowed extensions cannot be configured.
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" }))
)
The allowed extensions should be configurable in the FileManager
When setting the <dialogs>
and/or <messages>
configuration of the FileManager TagHelper
<dialogs>
<upload />
<rename-prompt />
<delete-confirm />
<move-confirm />
</dialogs>
<messages>
<dialogs>
<upload clear="Clear files" />
<move-confirm />
<delete-confirm />
<rename-prompt cancel="Do not rename" ok-text="Yes rename"/>
<export-as-dialog />
<search />
</dialogs>
</messages>
an error is is shown and the configuration cannot be compiled:
RZ2011 Tag helpers 'Kendo.Mvc.TagHelpers.FileManagerDialogsUploadSettingsTagHelper' and 'Kendo.Mvc.TagHelpers.FileManagerMessagesDialogsUploadSettingsTagHelper' targeting element 'upload' must not expect different TagStructure values.
Add the above configuration an the try to compile the FileManager TagHelper configuration.
No error should be thrown and a valid configuration should be compiled.
File Manager's built-in Search tool filters incorrectly when the input is cleared.
Regression introduced with 2023.1.314
Clearing the Search input's value does not re-render the existing folders and files.
Clearing the Search input's value should re-render the existing folders and files.
File Manager's toolbar overflow button does not show when the items are marked with the overflow setting.
The overflow button is not displayed when one of the items is configured with the overflow setting.
The overflow button should be displayed when one of the items is configured with the overflow setting similar to the conventional toolbar widget's items.
When the FileManager is defined using TagHelpers the defined schema is not serialized
The following FileManager definition:
<kendo-filemanager name="filemanager" upload-url="@Url.Action("FileManagerUpload", "FileManager")">
<filemanager-datasource>
<transport>
<read url="@Url.Action("FileManagerRead", "FileManager")" type="POST" />
<create url="@Url.Action("FileManagerCreate", "FileManager")" type="POST" />
<destroy url="@Url.Action("FileManagerDestroy", "FileManager")" type="POST" />
<update url="@Url.Action("FileManagerUpdate", "FileManager")" type="POST" />
</transport>
<schema>
<filemanager-model id="path" has-children="hasDirectories">
<fields>
<field name="path" type="string" from="Path"></field>
<field name="name" type="string" from="Name"></field>
<field name="extension" type="string" from="Extension"></field>
<field name="created" type="date" from="Created"></field>
<field name="createdUtc" type="date" from="CreatedUtc"></field>
<field name="modified" type="date" from="Modified"></field>
<field name="modifiedUtc" type="date" from="ModifiedUtc"></field>
<field name="size" type="number" from="Size"></field>
</fields>
</filemanager-model>
</schema>
</filemanager-datasource>
<toolbar>
<items>
<item name="createFolder" />
<item name="upload" />
<item name="sortDirection" />
<item name="sortField" />
<item name="changeView" />
<item name="spacer" />
<item name="details" />
<item name="search" />
</items>
</toolbar>
</kendo-filemanager>
generates the following script, without a schema definition:
<script>
kendo.syncReady(function() {
jQuery("#filemanager").kendoFileManager({
"uploadUrl": "/FileManager/FileManagerUpload",
"toolbar": {
"items": [{
"name": "createFolder"
}, {
"name": "upload"
}, {
"name": "sortDirection"
}, {
"name": "sortField"
}, {
"name": "changeView"
}, {
"name": "spacer"
}, {
"name": "details"
}, {
"name": "search"
}]
},
"dataSource": {
"schema": {
"model": {
"id": "path",
"hasChildren": "hasDirectories"
}
},
"transport": {
"destroy": {
"type": "POST",
"url": "/FileManager/FileManagerDestroy"
},
"read": {
"type": "POST",
"url": "/FileManager/FileManagerRead"
},
"update": {
"type": "POST",
"url": "/FileManager/FileManagerUpdate"
},
"create": {
"type": "POST",
"url": "/FileManager/FileManagerCreate"
}
}
}
});
});
</script>
The FileManager DataSource schema should be serialized
Hello Team,
when I add new folder then I rename it to 1.1 it show me 1.1.1 but the folder name is 1.1 and in properties 1.1 but I don't want it to show 1.1.1
the file manager add .1 automatically and if I rename it 2.2 it add .2 then the file display name 2.2 .
Please help,
Thank you,