asp.net - How to preview an array of bytes which represents a file content in client browser? -


we in need interact document management systems saves file (mostly pdf & doc & docx) array of bytes , saves file extension.
so, need build file viewer display files in client's browser.
think of converting doc files pdf , preview converted file in browser, others think of converting array of bytes html (this solution big question don't know how , if available or not) , transfer rendered html.
don't think these solutions best , cross browser solutions.

so, there way such functionality? must cross browser solution?

the first question have answer whether users need able edit documents. if so, best "viewer" going word , adobe client apps. please note in case, need give users ability upload (and possibly check-in) edited documents.

if users need read access, can show them image or pdf of file in browser. if go pdf route, save money using adobe reader, "clunkier" user experience.

if want give users read-only view, need "render" .doc files pdf's or tiff's or png's or whatever. don't recommend doing in browser unless of documents simple.

if users require single, web-based interface of rendered .doc , .pdf files, may want consider using java or activex-based document viewing applet. daeja popular vendor type of viewer, , gives users ability annotate documents.

one more note. rendering .doc files can expensive, cumbersome, , error-prone process. i've worked on numerous systems @ multiple companies have tried this, , no matter did or how spent, never worked terribly well.

good luck!

tom purl


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -