妙用客户端对象模型

来源:互联网 发布:淘宝卖家跑哪去了 编辑:程序博客网 时间:2024/06/05 06:34

问题描述:

Maybe you canuse the script function: DispDocItemEx. It will directly open a documentas read-only. Below is a sample that you can refer it.

 

<a onclick="DispDocItemEx(this, 'FALSE', 'FALSE', 'FALSE','SharePoint.OpenDocuments.3');"href="http://shni604:8090/Docs/Lotus%20notes%20setup.doc">OpenDocument</a>