解决RMS与微软的office web app在线预览的BUG冲突
后台代码:
using System;
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;
namespace youts.MossWebOfficeMenu {
public partial class testweboffice : LayoutsPageBase {
public string fileUrl = string.Empty; public string ExtName = string.Empty;
//
protected void
Page_Load(object sender, EventArgs e) {
string itemID = Request.QueryString["itemID"] == null ? string.Empty :
Request.QueryString["itemID"].ToString(); if (!string.IsNullOrEmpty(itemID)) { //
SPWeb web = SPContext.Current.Web; //
if (web != null) {
SPList list = web.Lists["测试文档"];

