Hello,
Based in your example : https://www.syncfusion.com/downloads/support/forum/163250/ze/FileManager938697903
When I tray to passe an object derived from FileManagerDirectoryContent with custom property to TValue attribut from SfFileManager compnent, the download action only not work. Otherwise the custom header is correctly loaded.
Thank you for you reply.
I complete with some precision :
Syncfusion FileManager version is : 19.4.0.52
Technology : Blazor .NET 6
In Razor page:
<SfFileManager @ref="FileManagerComponent" RootAliasName="@currentContainerName" View="ViewType.LargeIcons" TValue="FileManagerDirectoryContentCustom" Height="90%" >
<FileManagerEvents TValue="FileManagerDirectoryContentCustom"></FileManagerEvents>
<FileManagerDetailsViewSettings>
<FileManagerColumns>
<FileManagerColumn HeaderText="Name" Field="Name"></FileManagerColumn>
<FileManagerColumn HeaderText="Last modified" Field="DateModified"></FileManagerColumn>
<FileManagerColumn HeaderText="Size" Field="Size"></FileManagerColumn>
<FileManagerColumn Field="CustomData">
<HeaderTemplate>
<span class="e-headertext">Custom Data</span>
</HeaderTemplate>
</FileManagerColumn>
</FileManagerColumns>
</FileManagerDetailsViewSettings>
<FileManagerAjaxSettings Url="/api/storage/FileOperations"
UploadUrl="/api/storage/AzureUpload"
DownloadUrl="/api/storage/AzureDownload"
GetImageUrl="/api/storage/GetImage">
</FileManagerAjaxSettings>
</SfFileManager>
This still seems to be an issue in 20.1.0.51
Hi Joseph,
We regret for the inconvenience.
Based on the level of priority, we are sorry that the issue "Download file operation doesn't work while using custom TValue" isn’t included in promised release. We are working on this with high priority. This fix for this issue will be included in our last weekly patch release on May 24, 2022. Please track the status through the shared feedback.
We appreciate your patience.
Regards,
Indhumathy L
Hi Radouane,
Thanks for your patience.
We are glad to announce that our patch release (V20.1.57) has been rolled out successfully. The issue “Download file operation doesn't work while using custom TValue” has been resolved in this release. To access this fix, we suggest you update the package to the 20.1.57.
Please find the sample from below link.
Sample : https://www.syncfusion.com/downloads/support/directtrac/general/ze/FileManagerBlazor-1936550243.zip
Release notes: https://blazor.syncfusion.com/documentation/release-notes/20.1.57?type=all#file-manager
Please let us know if you need any further assistance.
Regards,
Prasanth Madhaiyan.