03 2008 档案

摘要:In your Data View or Data Form web part, you can conditionally display content based on the ddwrt:IfHasRights() function. 阅读全文
posted @ 2008-03-24 13:21 cdboy 阅读(413) 评论(0) 推荐(0)
摘要:转贴:Why event handlers are triggered twice? A lot of people call me Mr Event Handlers (ok, that is not 100% correct. Currently I am the only one calling me that, but never mind), but today's article comes from a Friend who we will refer to as Antin. Antin did some research on why event handlers behaved strangely in publishing sites and emailed me the results. He logged every event that happens when you check-in a file in a publishing site, and logged the thread of each call, along 阅读全文
posted @ 2008-03-23 15:49 cdboy 阅读(873) 评论(14) 推荐(0)
摘要:转贴:Sample event handler to set a field as a pr imary key (enforce no duplicates) Got this as a request from a reader- how to prevent users from adding items with same titles as ones that already exist in the list. 阅读全文
posted @ 2008-03-23 15:31 cdboy 阅读(981) 评论(2) 推荐(0)
摘要:今天使用moss 2007中:Microsoft.SharePoint.Utilities空间下的函数,SPUtility.ParseDate,就是调用不成功,就抛出异常“值不在预期的范围内。” 阅读全文
posted @ 2008-03-21 10:06 cdboy 阅读(552) 评论(1) 推荐(0)
摘要:转帖:WSS 3.0 Web Part Gallery Groups 发布webpart的模块定义文件,其中[WebPart Name]替换为默认的名称,[Group Name]替换为默认的组 .webpart文件中定义: 摘要,显示在选择webprart框中,webpart的名称 ... 阅读全文
posted @ 2008-03-12 16:14 cdboy 阅读(412) 评论(0) 推荐(0)
摘要:用moss2007建立了一个blog站点, 默认文章显示为: 并在“文章”列表中加入了一个自定义的栏"摘要”, 在首页中加入对"摘要"栏的显示设置: 保存后,在首页中就是显示不出来: 在点击修改时可以看到"摘要"栏的信息: 找了一下午,也没有找到原因. 阅读全文
posted @ 2008-03-10 17:35 cdboy 阅读(278) 评论(0) 推荐(0)