摘要: 图片弹出,滚动框,伸缩栏,鼠标拖拽….Jquery真是太强大了,如此多的插件和开发者,我们总会找到自己想要的效果。 阅读全文
posted @ 2014-03-12 15:21 batter152 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 1。创建一个BasePage.aspx页面。 2。创建一个弹出页面。ShowDialogPage.aspx应用程序页我的应用程序页 3。部署到MOSS环境。点击选择按钮弹出ShowDialogPage.aspx页面。在文本框填写“我是返回值”,点击确定。如下图,“我是返回值”,已经返回到文本框。关闭弹出窗口的页面有三种方法可以调用:1,window.frameElement.cancelPopUp(),调用该方法,将关闭窗口。返回值result是:SP.UI.DialogResult.cancel2.window.frameElement.commitPopup(),调用该方法,将关闭窗口.. 阅读全文
posted @ 2014-03-12 15:20 batter152 阅读(897) 评论(0) 推荐(1) 编辑
摘要: --updateif ((exists (select 1 from inserted)) and (exists (select 1 from deleted)))--insertelse if (exists (select 1 from inserted) and not exists (select 1 from deleted))--deleteelse if (not exists (select 1 from inserted) and exists (select 1 from deleted))判断当前修改的某一列是否变化if((select count(*) from in 阅读全文
posted @ 2014-03-12 15:19 batter152 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-03-12 15:18 batter152 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 利用Excel的Outlook Application发送邮件 From为当前登录用户 emailBook.Close SaveChanges:=False email.Quit 邮件的Excel模板为: 也可以写成循环,遍历行发送邮件。 阅读全文
posted @ 2014-03-12 15:17 batter152 阅读(1177) 评论(0) 推荐(0) 编辑
摘要: When you create custom ribbon you need ribbon locationMuch for my own reference, here is a list of default Ribbon location values in SharePoint 2010 Beta 2.Remember to append .Controls._children to the end of each, and use CommandUI.Ribbon as the location for the CustomAction.Ribbon.BDCAdmin.ActionM 阅读全文
posted @ 2014-03-12 15:16 batter152 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 12010-1-100:00:00Z2009-1-400:00:00Zquery.ViewAttributes = "Scope='Recursive'"; //设置范围为递归,包含子文件夹o ViewAttributesa. Scope='Default' : 只顯示指定文件夾下的項目及子文件夾b. Scope='FilesOnly' : 只顯示指定文件夾下的項目c. Scope='Recursive' : 顯示所有項目,不顯示文件夾d. Scope='RecursiveAll' : 顯示所有 阅读全文
posted @ 2014-03-12 15:15 batter152 阅读(346) 评论(0) 推荐(0) 编辑
摘要: SharePoint 2010 Ribbon的实现http://blog.csdn.net/wang4237/article/details/5306335using code behindhttp://markeev.com/sharepoint/ribbon/?topic=html/ribbonControl.htmhttp://stackoverflow.com/questions/3415246/create-sharepoint-2010-ribbon-button-programmatically-w-o-feature-xmlcode javascripthttp://pubsu 阅读全文
posted @ 2014-03-12 15:13 batter152 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 在进一步实践使用ECMAScript对象模型来编写代码之前,我们当然希望我们的编码过程尽量轻松一些,所以在这里让我们看看如何实现在编写代码时,实现智能提示功能。 1、首先在VS2010中创建一个javascript文件。 2、在此文件的开始处添加如下代码:/// 我们必需把 对MicrosoftAjax.js的引用放到第一行,Javascript对外部引用文件的顺序是有一定的讲究的,某些SP对象会依赖于MicrosoftAjax.js,如果我们把此文件放在随意的地方就会导致某些引用SP对象的报错。你 也可引入带 debug 的,即"MicrosoftAjax.debug.js&quo 阅读全文
posted @ 2014-03-12 15:11 batter152 阅读(165) 评论(0) 推荐(0) 编辑
摘要: function checkForEnter(event) { if (event.keyCode == 13) { //按下回车 var videocomments = $("#newcomments").val(); if (videocomments != '') { $("#divToDisplay").show("slow"); $("#divToDisplay").html(''); var addnewcomment; ... 阅读全文
posted @ 2014-03-12 15:09 batter152 阅读(215) 评论(0) 推荐(0) 编辑