Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
kendo-bot opened this issue Feb 19, 2025 · 0 comments
Closed
Assignees
Labels
Bug C: Editor FP: Completed Sync status with associated Feedback Item Next Release Item that will be included in the next official release S: Wrappers (ASP.NET Core) S: Wrappers (ASP.NET MVC) SEV: Low
Milestone

Comments

@kendo-bot
Copy link
Collaborator

kendo-bot commented Feb 19, 2025

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]
@kendo-bot kendo-bot added the FP: Unplanned Sync status with associated Feedback Item label Feb 19, 2025
@alestoya alestoya self-assigned this Feb 26, 2025
@alestoya alestoya added this to the 2025 Q2 (May) milestone Feb 26, 2025
@alestoya alestoya added FP: In Development Sync status with associated Feedback Item and removed FP: Unplanned Sync status with associated Feedback Item labels Feb 26, 2025
@github-actions github-actions bot added FP: Planned Sync status with associated Feedback Item and removed FP: Planned Sync status with associated Feedback Item labels Feb 26, 2025
@github-actions github-actions bot added FP: Completed Sync status with associated Feedback Item and removed FP: In Development Sync status with associated Feedback Item labels Mar 20, 2025
@alestoya alestoya added the Next Release Item that will be included in the next official release label Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug C: Editor FP: Completed Sync status with associated Feedback Item Next Release Item that will be included in the next official release S: Wrappers (ASP.NET Core) S: Wrappers (ASP.NET MVC) SEV: Low
Projects
None yet
Development

No branches or pull requests

3 participants