ContextMenu in FileManager

The Telerik UI for ASP.NET Core FileManager's ContextMenu enables you to easily execute FileManager commands on the selected file or folder.

The component uses the Telerik UI for ASP.NET Core ContextMenu, enabling you to get full advantage of its Client API. Once an item is selected, the corresponding command is executed.

The default items in the ContextMenu are rename and delete. You can define your custom items which can execute custom commands. You can also manage what items should be visible, by enumerating the needed ones in the initialization of the component (see Example below)

    <kendo-filemanager name="filemanager" upload-url="@Url.Action("Upload", "FileManagerData")">
        <filemanager-datasource>
            <transport>
                <read url="@Url.Action("Read", "FileManagerData")" />
                <create url="@Url.Action("Destroy", "FileManagerData")" />
                <destroy url="@Url.Action("Create", "FileManagerData")" />
                <update url="@Url.Action("Update", "FileManagerData")" />
            </transport>
        </filemanager-datasource>
        <context-menu>
            <items>
                <item name="rename"></item>
                <item name="delete"></item>
            </items>
        </context-menu>
    </kendo-filemanager>

See Also

In this article
Not finding the help you need? Improve this article