Skip to content

The File() option of the FileBrowser does not provide UrlHandler() option #8150

@kendo-bot

Description

@kendo-bot

Bug report

The File() option of the Editor's FileBrowser configuration does not provide UrlHandler() option, which is available for the ImageBrowser.

Reproduction of the problem

  1. Define an Editor and enable the FileBrowser feature:
@(Html.Kendo().Editor()
    .Name("Description")
    .Tools(tools => tools
        .Clear()
        .InsertFile()
    )
    .FileBrowser(fileBrowser => fileBrowser
        .File("GetFile", "FileBrowser", new { path = "{0}" })
        .Read("Read", "FileBrowser")
        .Create("Create", "FileBrowser")
        .Destroy("Destroy", "FileBrowser")
        .Upload("Upload", "FileBrowser")
        )
)
  1. The File() option sets URL responsible for serving the original file. Try to set it by using a JavaScript handler.

  2. The File(x => x.UrlHandler("setURLHandler")) configuration is not available.

Expected/desired behavior

The UrlHandler() function must be available to set the URL that serves the file using a JavaScript handler.

Environment

  • **Telerik UI for ASP.NET Core version: 2025.1.211
  • **Browser: [all]

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions