New to Kendo UI for jQuery? Start a free 30-day trial

Getting Started with the FileManager

Updated on Sep 11, 2026

This guide demonstrates how to get up and running with the Kendo UI for jQuery FileManager.

After the completion of this guide, you will achieve the following end result:

Example
View Source
Loading ...

1. Create a Div Element

First, create a <div> element on the page that will be used to initialize the component.

html
    <div id="filemanager"></div>

2. Initialize the FileManager

In this step, you will initialize the FileManager from the <div> element.

Example
View Source
    <div id="filemanager"></div>

    <script>
    $(document).ready(function() {
        $("#filemanager").kendoFileManager();
    });
    </script>

3. Specify the Data Source

Here, you will specify a dataSource instance and fetch the remote data.

Example
View Source
    <div id="filemanager"></div>

    <script>
        $(document).ready(function() {
            $("#filemanager").kendoFileManager({
                dataSource: {
                    schema: kendo.data.schemas.filemanager,
                    transport: {
                        read: {
                            url: "https://demos.telerik.com/service/v2/core/FileManager/Read",
                            method: "POST"
                        },
                        create: {
                            url: "https://demos.telerik.com/service/v2/core/FileManager/Create",
                            method: "POST"
                        },
                        update: {
                            url: "https://demos.telerik.com/service/v2/core/FileManager/Update",
                            method: "POST"
                        },
                        destroy: {
                            url: "https://demos.telerik.com/service/v2/core/FileManager/Destroy",
                            method: "POST"
                        }
                    }
                },
            });
        });
    </script>

4. Configure the Items in the Toolbar

In this step, you will define the items that will be included in the Toolbar of the FileManager component and their order of rendering.

Example
View Source
    <div id="filemanager"></div>

    <script>
      $(document).ready(function() {
        $("#filemanager").kendoFileManager({
          toolbar: {
            items: [
              { name: "search" },
              { name: "createFolder" },
              { name: "upload" },
              { name: "details" },
              { name: "spacer" },
              { name: "sortDirection" },
              { name: "sortField" },
              { name: "changeView" },

            ]
          },
          dataSource: {
            schema: kendo.data.schemas.filemanager,
            transport: {
              read: {
                url: "https://demos.telerik.com/service/v2/core/FileManager/Read",
                method: "POST"
              },
              create: {
                url: "https://demos.telerik.com/service/v2/core/FileManager/Create",
                method: "POST"
              },
              update: {
                url: "https://demos.telerik.com/service/v2/core/FileManager/Update",
                method: "POST"
              },
              destroy: {
                url: "https://demos.telerik.com/service/v2/core/FileManager/Destroy",
                method: "POST"
              }
            }
          },
        });
      });
    </script>

5. Set the Upload URL

By using the uploadUrl, you can set the path to the endpoint that will be used for the built-in Upload component in the ToolBar.

Example
View Source
    <div id="filemanager"></div>

    <script>
      $(document).ready(function() {
        $("#filemanager").kendoFileManager({
          toolbar: {
            items: [
              { name: "search" },
              { name: "createFolder" },
              { name: "upload" },
              { name: "details" },
              { name: "spacer" },
              { name: "sortDirection" },
              { name: "sortField" },
              { name: "changeView" }
            ]
          },
          uploadUrl: "https://demos.telerik.com/service/v2/core/FileManager/Upload",
          dataSource: {
            schema: kendo.data.schemas.filemanager,
            transport: {
              read: {
                url: "https://demos.telerik.com/service/v2/core/FileManager/Read",
                method: "POST"
              },
              create: {
                url: "https://demos.telerik.com/service/v2/core/FileManager/Create",
                method: "POST"
              },
              update: {
                url: "https://demos.telerik.com/service/v2/core/FileManager/Update",
                method: "POST"
              },
              destroy: {
                url: "https://demos.telerik.com/service/v2/core/FileManager/Destroy",
                method: "POST"
              }
            }
          },
        });
      });
    </script>

6. Define Template

You can customize the preview pane through the noFileTemplate, singleFileTemplate, and multipleFilesTemplate.

The following example demonstrates how to configure the noFileTemplate:

Example
View Source
    <div id="filemanager"></div>
    <script>
        $(document).ready(function() {
          $("#filemanager").kendoFileManager({
            previewPane: {
              noFileTemplate: '<b>No file or folder selected</b>'
            },
            toolbar: {
              items: [
                { name: "search" },
                { name: "createFolder" },
                { name: "upload" },
                { name: "details" },
                { name: "spacer" },
                { name: "sortDirection" },
                { name: "sortField" },
                { name: "changeView" }
              ]
            },          
            uploadUrl: "https://demos.telerik.com/service/v2/core/FileManager/Upload",
            dataSource: {
              schema: kendo.data.schemas.filemanager,
              transport: {
                read: {
                  url: "https://demos.telerik.com/service/v2/core/FileManager/Read",
                  method: "POST"
                },
                create: {
                  url: "https://demos.telerik.com/service/v2/core/FileManager/Create",
                  method: "POST"
                },
                update: {
                  url: "https://demos.telerik.com/service/v2/core/FileManager/Update",
                  method: "POST"
                },
                destroy: {
                  url: "https://demos.telerik.com/service/v2/core/FileManager/Destroy",
                  method: "POST"
                }
              }
            },
          });
        });
    </script>

Next Steps

See Also