0
CNS created
How to Retrieve the Uploaded File from Database to client and also allow him/her to download it (As there is only built in functionality for Uploading File).
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
3 Answer(s)
-
0
Hi @CNS
You can use
IBinaryObjectManagerfor this. You can check FileController.cs for sample usage.Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi,
But on angular side there is a <fileupload> tag by ng-prime for uploading a file but I can't find a tag to preview a file or attachment.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi @CNS
There is no component for previewing a file, at least I don't know. Wihtout preview, you can put an anchor element to your page and set its href proprert.
<a href="/File/DownloadBinaryFile?id={id}&contentType=application/zip&fileName=collectedData.zip">Download</a>Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)