How can I suppress the FileManager Rename Confirmation dialog?

Hi Syncfusion,

I am using the Blazor File Manager with data supplied from a SQL database.  Therefore, the media names supplied are not filenames and therefore do not have to have file extensions.

When I perform an item "rename" the File Manager component automatically shows the "Rename Confirmation" dialog box:

RenameConfirmation.jpg

This makes no sense under the circumstances.

Please could you tell me how to suppress this dialog.

Many thanks and best regards,

Steve


4 Replies

SJ Saravanan Jayavel Syncfusion Team August 27, 2025 11:56 AM UTC

Hi Stephen Haines,


To suppress the Rename Confirmation dialog in the Blazor File Manager when renaming items from an SQL database without file extensions, you can use the ShowFileExtension property and handle the dialog behavior.


Set the ShowFileExtension property to false to hide file extensions in the File Manager. This setting hides the extension for files and prevents users from changing extensions when renaming files.


<SfFileManager @ref="filemanager" id="filemanager" TValue="FileManagerDirectoryContent" ShowFileExtension="false">

    <FileManagerAjaxSettings Url="/api/home/fileoperations"

                           UploadUrl="/api/home/upload"

                           DownloadUrl="/api/home/download"

                           GetImageUrl="/api/home/getimage">

    </FileManagerAjaxSettings>

</SfFileManager>


For your reference we attached a sample and SQL provider.


Sample: Attached as a zip file.


Provider:  SyncfusionExamples/sql-server-database-aspcore-file-provider: This repository contains the SQL server database file provider in ASP.NET Core for the Syncfusion File Manager component.


Check out the sample and let us know if you need any further assistance.


Regards,

Saravanan J.



Attachment: BlazorAppFileManager_5cc16bc.zip


SH Stephen Haines August 27, 2025 01:20 PM UTC

Dear Saravanan,

Thank you so much for your quick response.

This did indeed prevent the dialog from showing and all was looking good until the media name contained additional periods.

For example, 1.1.5.jpg displayed as 1.1.5.  OK.  But when renaming to 1.1.6 it instead became 1.  The renamed version cannot contain the period character.

Please can this be fixed.

Best regards,

Steve



LD LeoLavanya Dhanaraj Syncfusion Team August 29, 2025 04:45 AM UTC

Hi Stephen,


Thanks for your patience.


Based on the information provided, we have validated and classified the reported scenarios regarding the "File/Folder rename issue with the dot value in the FileManager component" as a bug on our end. The fix for this issue will be included in the weekly patch release scheduled for mid-September 2025.


You can track the status of the fix through the following feedback link.


https://www.syncfusion.com/feedback/69727/file-folder-rename-issue-with-the-dot-value-in-the-filemanager-component


Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.


Regards,

Leo Lavanya Dhanaraj



SS Sivakumar ShunmugaSundaram Syncfusion Team October 19, 2025 04:18 AM UTC

Hi Stephen Haines,
 
We are glad to announce that our weekly release (V31.1.18) has been rolled out successfully. The fix for the issue has been included in our weekly release(31.1.18). Upgrade to the latest version to resolve the issue.
 

 
Root Cause:  This issue occurred because, from the service side, the file names were coming without file extensions, which is why the reported issue occurred(for SQL and Azure providers).

Regards,

Sivakumar S


Loader.
Up arrow icon