上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
摘要: SPList productsList = SPContext.Current.Web.Lists["Products"]; SPQuery query = new SPQuery(); query.Query = "<Where><Eq>" + "<FieldRef Name='AvailableColors' LookupId='TRUE' />" + "<Value Type='Lookup'>1</Value> 阅读全文
posted @ 2011-08-19 08:53 队长 阅读(263) 评论(0) 推荐(0) 编辑
摘要: <html><head><title></title><script type="text/javascript" src="jquery.js"></script><script type="text/javascript">$(function() { $("#actionContainer").hide();});function createNews() { alert($("#newsTitle").v 阅读全文
posted @ 2011-08-07 14:47 队长 阅读(211) 评论(0) 推荐(0) 编辑
摘要: Inside Sharepoint2010 读书笔记1.可设置after事件为同步执行,好处之一是ui不会滞后在Receiver声明中加入:<Synchronization>Synchronous</Synchronization>2.即使在added事件中如果对当前条目做update,也可以并且应该禁止事件触发。在updated事件中则必须禁止事件触发,防止式循环EventFiringEnabl... 阅读全文
posted @ 2011-08-05 08:29 队长 阅读(419) 评论(0) 推荐(0) 编辑
摘要: 1. 可设置after事件为同步执行,好处之一是ui不会滞后 2. 即使在added事件中如果对当前条目做update,也可以并且应该禁止事件触发。在updated事件中则必须禁止事件触发,防止式循环 3. 做数据修改时,有个方法,可以防止生成新版本 4. 在adding事件中,beforeproperties是空的,因为这时数据还未写入list中。updating事件中beforepropert... 阅读全文
posted @ 2011-08-04 22:24 队长 阅读(194) 评论(0) 推荐(0) 编辑
摘要: CURSOR C_Temp ISSELECT bxa.*, biv.gtaid4, bxt.GTTDRI, bxd.GTDPID........From t_xxxxxc1 C_Temp%ROWTYPE; FOR c1 IN C_Temp --这种方式好像在结果集为空时会进入死循环 LOOP --processing logic here. END LOOP; FOR C1 IN (SELECTx... 阅读全文
posted @ 2011-08-01 17:47 队长 阅读(111) 评论(0) 推荐(0) 编辑
摘要: $backupLocation = "D:\SPBACKUP\SiteCols"$logFile = join-path $backupLocation "log.txt"cd $backupLocationfunction Write-Log($message){$message$message = (get-date).ToString("yyyy/MM/dd HH:mm:ss") + " - " + $message$message >> $logFile}$source = @"usi 阅读全文
posted @ 2011-07-24 22:10 队长 阅读(209) 评论(0) 推荐(0) 编辑
摘要: http://social.technet.microsoft.com/Forums/en/sharepointadmin/thread/0881326b-7cb6-4198-9bac-7df6eaed9ddehttp://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/12edf082-ba7f-4063-8... 阅读全文
posted @ 2011-07-15 18:01 队长 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 在CodePlex上发现了一个很好的Solution,可以对Lookup字段进行过滤http://sp2010filteredlookup.codeplex.com/下载下来之后是一个wsp文件:Dev4Side.SP2010.FilteredLookup.wsp经验总结:需要用管理员权限需要启动SharePoint 2010 Administration服务如果用stsadm,所需命令如下:stsadm -o addsolution -filename d:\Sharepoint\Dev4Side.SP2010.FilteredLookup.wspstsadm -o deploysoluti 阅读全文
posted @ 2011-07-13 16:47 队长 阅读(551) 评论(0) 推荐(0) 编辑
摘要: http://www.k99k.com/jQuery_getting_started.htmlhttp://visualjquery.com/ 阅读全文
posted @ 2011-07-08 17:43 队长 阅读(135) 评论(0) 推荐(0) 编辑
摘要: typeof 运算符把类型信息当作字符串返回。typeof 返回值有六种可能: "number," "string," "boolean," "object," "function," 和 "undefined."typeof 语法中的圆括号是可选项。alert(typeof window.jQuery); //function if (window.jQuery) { alert("jQuery... 阅读全文
posted @ 2011-07-01 22:31 队长 阅读(190) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页