I copied the demonstration code and controller ( from GitHub) and slightly modified to suit.
The view is very simple
<body>
<div id="example">
<div id="filemanager"></div>
<script>
$("#filemanager").kendoFileManager({
dataSource: {
schema: kendo.data.schemas.filemanager,
transport: {
read: {
url: '@Url.Action("Read", "FileManager")',
method: "POST"
}
}
},
toolbar: {
items: [
{ name: "createFolder" },
{ name: "upload" },
{ name: "sortDirection" },
{ name: "sortField" },
{ name: "changeView" },
{ name: "spacer" },
{ name: "details" },
{ name: "search" }
]
},
contextMenu: {
items: [
{ name: "rename" },
{ name: "delete" }
]
},
draggable: true,
resizable: true
});
$(document).ready(function () {
var filemanager = $("#filemanager").getKendoFileManager();
filemanager.executeCommand({ command: "TogglePaneCommand", options: { type: "preview" } });
filemanager.toolbar.fileManagerDetailsToggle.switchInstance.toggle();
})
</script>
</div>
</body>
</html>The Data returned from the controller is this ( copy and paste from the browser)
[{"name":"English","size":0,"path":"English","extension":"","isDirectory":true,"hasDirectories":false,"created":"\/Date(1638409250788)\/","createdUtc":"\/Date(1638409250788)\/","modified":"\/Date(1638834574019)\/","modifiedUtc":"\/Date(1638834574019)\/"},{"name":"Swedish","size":0,"path":"Swedish","extension":"","isDirectory":true,"hasDirectories":false,"created":"\/Date(1638409251098)\/","createdUtc":"\/Date(1638409251098)\/","modified":"\/Date(1638501536659)\/","modifiedUtc":"\/Date(1638501536659)\/"}]I have tried viewing a folder with lots of file.. the number of File is always right.. but something is going wrong with the reading of the data being returned The initial controller code I used set path as a path and filename. I changed it to above to match what I can see returning for the examples provided.
So now I believe the JSON being returned from the online samples that are using the same backend are identical to what I am returning.
I am using 2021.1.330. The only thing I can think of is that there was a change in the Schema between versions? But I cannot find anything about this
I haven't got much hair left these days... would really appreciate a pointer to at least what I could be checking.
Many thanks
Rob
I have a grid that displays only 3 columns of a given row. When the 3 columns all have nulls the row will NOT display. I need it to display so the values can be updated.
Any help would be appreciated.
-Pat Kane
Hi All,
We have a problem with the labels alignment in the x-series of the chart. We would like the value of the series to be aligned with the end of the label and not with the center of it. In attached you can see, as an example, that the value 04/17 is not aligned at the end of the label 17/04 but is in the center.
Can you help us with this issue?
thank you so much in advance,
Claudio
Hi team,
is there any shortcut to resize the grid column using keyboard?
Hello,
I try to display all the events on my schedule (timeline view) as an all day event. Found a post on stackoverflow with exactly the same question but no working answer. I know I should use _positionEvent, but I don't know how. Can you help me how to do it?
Thanks in advance!
Frank
<script src="@Url.Content("http://cdn.kendostatic.com/2013.3.1324/js/cultures/kendo.culture." + culture + ".min.js")"></script><script> kendo.culture("@culture");</script>@Html.Kendo().Upload().Name("attachments").Events(events => events.Select("OnUploadSelect"))Hi,
I am new with Telerik framework, I have an MVC project and I need to create a web page for creating Sales Invoice
The Invoice page has some information as Customer Code, name, Invoice Date... and a grid with some Information as Item Code, Name, quantity, price...
there is a button as Save
I need an example of how I can send the Invoice information to the Save action and how the Telerik framework can make it easier
thanks
the follow code not working...
var tabStrip = $("#TsMain").kendoTabStrip().data("kendoTabStrip");
tabStrip.select(1);
var tabStrip = $("#"+controlName).kendoTabStrip().data("kendoTabStrip");
Hi all,
I have this problem:
We would like to change the date format of the chart series tooltip. The desired format is dd/mm/yyyy. The culture of the site is english. In attached you find the example of the tooltip that we would like to change in the format.
Can someone help me on this issue?
Thank you a lot,
Claudio