ASP.Net HTML Document viewer [closed]

蹲街弑〆低调 提交于 2019-12-12 15:31:27

问题


In my application, we store documents in Sharepoint and use asp.net application to display that. Which is the best editor to integrate and that would work on every browser post IE7?

Does google docs provide api as I am looking for that kind of viewer for all type of files.

Remember I am looking for html and not silverlight or WPF application. Lazy loading would be a plus. The viewer should integrate with all document types


回答1:


You can have a look at this http://www.doconut.com/Document-Viewer/Features.aspx

  1. Asp.net application to display that - Yes
  2. Would work on every browser post IE7? - Yes
  3. Remember I am looking for html and not silverlight or WPF application. - Yes
  4. Lazy loading would be a plus. - Yes
  5. The viewer should integrate with all document types - Yes



回答2:


maybe this can help you Office Web Apps with SarePoint




回答3:


Yes google Provides API for such purpose...check this out..

  • Example on StackOverflow
  • Google API documentaion



回答4:


Aspose offers strong document APIs http://www.aspose.com/

You could combine document conversion into an HTML friendly format from there orignal format, such Word to PDF or Excel to PDF or even images if the purpose is view only.

http://www.aspose.com/demos/.net-components/default.aspx




回答5:


http://docs.google.com/viewer?url= <USER PATH TO THE FILE>



回答6:


I used this in the past to do something similar. It is easy to use and does not cost anything.

http://www.tinymce.com/

My scenario was somewhat different than yours. I needed to give the user a nice full featured editor. Behind the scenes it generated html which I stored into a database field. This solution uses a javascript library and html.



来源:https://stackoverflow.com/questions/11939370/asp-net-html-document-viewer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!