简体   繁体   English

如何在不从sharepoint下载的情况下将单词或任何其他文档显示到asp.net页中

[英]How to Display a word or anyother Document into asp.net page without downloading from sharepoint

my project is a finance based website, 我的项目是一个基于财务的网站,

now when ever we upload a word,PDF or Excel document the file is Directly saved in sharepoint and a link is provided to user or the the person whom he submits the invoice or application but according to the new requirement we should provide a view button that basically display the content to the file Kinda like opening a word file on Gmail or yahoo..!!, as far as i know to open them the file must be physically be on the server to be opened by viewer but the file is uploaded in Sharepoint directly as mentioned earlier and i can't write any code for the file to be downloaded on server or on client machine coz reason 1: File may be to Large reason 2: Performance will be reduced 现在,无论何时我们上载word,PDF或Excel文档时,文件都直接保存在sharepoint中,并向用户或提交发票或申请的人提供了链接,但根据新要求,我们应提供一个查看按钮,基本上将内容显示为文件Kinda,就像在Gmail或yahoo .. !!上打开Word文件一样,据我所知要打开它们,文件必须实际位于服务器上,以供查看器打开,但文件已上传到如前所述,直接使用Sharepoint,我无法为要在服务器或客户端计算机上下载的文件编写任何代码,原因1:文件可能过大原因2:性能将降低

so is there any other way i can open that respective file in a viewer or popup without downloading it on server or on client machine 所以还有其他方法可以在查看器或弹出窗口中打开相应文件,而无需在服务器或客户端计算机上下载该文件

Please help me on this 请帮我

Thanks 谢谢

If I understood your question correctly , you want view the file in browser ? 如果我正确理解了您的问题,是否要在浏览器中查看文件?

Use Office Web Apps with SharePoint 将Office Web Apps与SharePoint一起使用

Install office webapp 安装Office Webapp

Activate it 激活它

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM