Gets the selected files (the JSON representation of the files).

Example - log the selected files data

<button onclick="getSelectedFiles()" class="k-button">Get selected files</button>
<div id="fileManager"></div>

  var baseUrl = "";

    width: 500,
    dataSource: {
      transport: {
        read: {
          type: "post",
          url: baseUrl + "Read"

  function getSelectedFiles(){
    var filemanager = $("#fileManager").getKendoFileManager();
    var files = filemanager.getSelected()
    /* The result can be observed in the DevTools(F12) console of the browser. */


Object The currently selected files.

In this article