Remove download option from Context menu of FileManager Blazor

1 Answer 13 Views
ContextMenu FileManager
Tasnim
Top achievements
Rank 1
Iron
Iron
Tasnim asked on 08 Apr 2025, 11:53 AM

Hi Team,

Is there a way to remove download option from Context menu of FileManager Blazor

1 Answer, 1 is accepted

Sort by
0
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
answered on 08 Apr 2025, 12:02 PM

I believe the FileManager component does not currently offer a way to customize the context menu.

As a workaround, you can hide the Download option using CSS like this:

<style>
    li.k-menu-item:has(span.k-svg-i-download) {
        display: none;
    }
</style>

Keep in mind that this approach may stop working in the future if Telerik removes the Download icon from the context menu.

Regards,
Anislav Atanasov
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
commented on 23 Apr 2025, 04:16 PM

Did the proposed workaround work for you?
Tags
ContextMenu FileManager
Asked by
Tasnim
Top achievements
Rank 1
Iron
Iron
Answers by
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Share this question
or