Is there any option to file (excel,word,ppt,image,pdf file) in single viewer (syncfussion or any other)
KINS, Please check below demo and sample for your reference:
Sample:
https://github.com/syncfusion/blazor-showcase-document-explorer
Demo: https://blazor.syncfusion.com/showcase/documentexplorer/
Please let us know if you need any further assistance.
Thanks for reply..
This is an File Explorer
My question is how to view file in Viewer ??
For Example :-
In my Grid there are two column,FileDescriptions and FileName
When I double click on Grid row,the file should show in separate Viewer ..
awaiting for reply
KINS,
Please check below sample in which document listed in grid and when click on document it will open in Document editor:
https://github.com/SyncfusionExamples/multiple-users-edit-sequentially-in-word-document
Similarly, you can implement the functionality for Pdf, excel, ppt, image.
Pdf- Pdf viewer: https://blazor.syncfusion.com/documentation/pdfviewer/getting-started/server-side-application
excel- spreadsheet: In blazor we have excel viewer. convert the document to pdf and view in pdf viewer: https://help.syncfusion.com/file-formats/xlsio/excel-to-pdf-conversion
ppt- convert the document to pdf and view in pdf viewer: https://help.syncfusion.com/file-formats/presentation/presentation-to-pdf
image: convert the document to pdf and view in pdf viewer: https://help.syncfusion.com/file-formats/pdf/working-with-images
Please let us know if you need any further assistance.
Thanks for reply...
Is it possible to view this file browser itself ???
Yes, you can view this file in your browser using the Word processor and PDF viewer web components.
can you have example of this ??
Kins, we are working on the sample and will update you once completed. In this sample, we planned to view all the file(docx, excel,ppt, image, pdf) in Pdf viewer. By converting all the files in Pdf format and open it in Pdf viewer.
We have prepared a Blazor sample to view all the file(docx, excel,ppt, image, pdf) in Pdf viewer. Check out the below GitHub sample.
sorry for late reply...
I have check this example but webclient is not supported in blazor web assembly..
can you share example in blazor web assembly
Pls help
Please find the Blazor WASM sample to view all the file (docx, excel,ppt, image, pdf) in Pdf viewer. Check out the below GitHub sample.
https://github.com/SyncfusionExamples/blazor-pdf-viewer-examples/tree/master/Common/Load%20PDF%2C%20Excel%2C%20PPT%20file%20types/WASM%20Side%20Sample/Load%20PDF%2C%20Excel%2C%20PPT%20file%20types