摘要:
阅读全文
posted @ 2014-03-07 14:35
914556495
阅读(242)
评论(0)
推荐(0)
摘要:
js 弹出对话框4种方式弹出后台调用function Close() { alert("操作成功")window.location = "http://amid01110/_layouts/15/start.aspx#/Lists/test2/AllItems.aspx";} 后台调用前台js方法ClientScriptManager cs = Page.ClientScript;cs.RegisterStartupScript(this.GetType(), "", ""); //调用前台js方法三种弹出对话框的 阅读全文
posted @ 2014-03-07 12:12
914556495
阅读(329)
评论(0)
推荐(0)
摘要:
Write-Host “Hello World!” pause保存Hello.ps1 右击使用PowerShell运行 阅读全文
posted @ 2014-03-07 09:16
914556495
阅读(154)
评论(0)
推荐(0)
摘要:
修改SharePoint页面上的控件数量的限制一个SharePoint页面上,默认情况下,最多可以放置不超过200个控件。不知道为什么会有这个限制,可能是出于性能上的考虑。为了解决这个问题,我们需要在web.config文件中修改MaxControls属性的设置: 我们这边是把maxcontrols参数设成了300。 阅读全文
posted @ 2014-03-07 08:56
914556495
阅读(128)
评论(0)
推荐(0)
摘要:
在SharePoint 2010页面中嵌入SWF文件在SharePoint 2007之前的版本中,我们可以像在普通的html页面里一样,在SharePoint页面中插入Flash文件。但是,当我在2010里做相同的工作时却发现始终是提示“没有加载影片”。通常我们是使用但是,这段代码在SharePoint Designer中显示时,就会变成下面这样:原因是网页编辑器的XHTML 1.0 Strict检查。但是这个会是导致错误的原因吗?于是,我就换了一种javascript动态生成代码的方法。 这里使用“SWFObject”。它是利用Javascript 插入flash的一个开源库。它的优点很多。 阅读全文
posted @ 2014-03-07 08:55
914556495
阅读(178)
评论(0)
推荐(0)
摘要:
当我们在SharePoint中新增一个列表项时,在该列表项的标题后面会显示一个“新”字图标。默认情况下,是2天内的项会显示“新”。我们可以通过stsadm命令行工具来修改:C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN>stsadm -o setproperty -propertyname days-to-show-new-icon -propertyvalue 30 -url http://moss.contoso.com在上面的例子中,我的Web应用程序地址是http://moss 阅读全文
posted @ 2014-03-07 08:53
914556495
阅读(207)
评论(0)
推荐(0)

浙公网安备 33010602011771号