摘要: 在asp.net中使用模式dialog时,你会发现每次打开的页面都是相同的内容,页面内容并没有刷新,这是缓存的原因造成的,解决方法如下:ASP.NET清除页面缓存 (1) Response.Buffer = true; Response.ExpiresAbsolute = System.DateTime.Now.AddSeconds(-1); Response.Expires = 0; Respo... 阅读全文
posted @ 2009-07-24 17:15 LeimOO 阅读(970) 评论(0) 推荐(0) 编辑
摘要: 在SharePoint中通过SPQuery.Folder属性, 可以很方便的查询列表下文件夹中的数据, 下面介绍如何使用: SPQuery.Folder:Gets or sets the folder within a document library from which to return items in the query. Demo:using (SPWeb oWebsiteRoot... 阅读全文
posted @ 2009-07-24 17:06 LeimOO 阅读(838) 评论(0) 推荐(0) 编辑
摘要: Reference: http://blog.krichie.com/2008/06/27/using-stsadm-o-migrateuser-on-a-re-created-account/I see this come up quite a bit and thought I would show you how to work around the problem. I thought I... 阅读全文
posted @ 2009-07-24 17:03 LeimOO 阅读(488) 评论(0) 推荐(0) 编辑
摘要: 1.利用 Feature 来实现 EventHandler 与 SPList 的绑定:public class FeatureReceiver : SPFeatureReceiver { public override void FeatureActivated(SPFeatureReceiverProperties properties) { try { using (SPSite site ... 阅读全文
posted @ 2009-07-24 16:36 LeimOO 阅读(685) 评论(0) 推荐(0) 编辑