Remove some options of SortBy in Toolbar of File Manager in Blazor

1 Answer 13 Views
FileManager
Tasnim
Top achievements
Rank 1
Iron
Iron
Tasnim asked on 07 Apr 2025, 12:29 PM

Hi Team,

I want to remove some options (like Date created, Date Modified, Size) of Sort By in Toolbar of File Manager in Blazor but I am unable to do it. Can you please help.

1 Answer, 1 is accepted

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

The built-in FileManagerToolBarSortTool does not offer a way to selectively remove specific sorting options such as Date Created, Date Modified, or Size.

The recommended approach is to customize the toolbar as described here: Telerik FileManager Toolbar Configuration. You'll need to exclude both FileManagerToolBarSortTool and FileManagerToolBarSortDirectionTool from the default toolbar, and implement your own sorting logic and UI as needed.

This will require some development effort, but currently, there’s no reliable workaround—attempting to hide options via CSS would affect all context menus globally, which is not ideal.

Regards,
Anislav Atanasov

Tags
FileManager
Asked by
Tasnim
Top achievements
Rank 1
Iron
Iron
Answers by
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Share this question
or