摘要: 如何定制列表项编辑页面 其实简单来说,如果你熟悉SharePoint开发,解决上面所说的这个问题就非常简单了。因为SPField有一个ShowInEditForm的属性,你只需要这样: SPField titleField = item.Fields["Title"]; titleField.ShowInEditForm = false; 但如果你不想用这样的方法,或者想了解更多对列表... 阅读全文
posted @ 2008-06-24 10:42 ChoiceShan 阅读(303) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.W... 阅读全文
posted @ 2008-05-26 14:54 ChoiceShan 阅读(414) 评论(0) 推荐(0) 编辑
摘要: 1. 在webpart中添加控件 举例说明: a> 首先声明控件: LinkButton btnFirst; b> 添加代码: 在函数protected override void CreateChildControls()里添加如下代码 btnFirst = new LinkButton(); btnFirst.Text =... 阅读全文
posted @ 2008-05-26 10:51 ChoiceShan 阅读(201) 评论(0) 推荐(0) 编辑
摘要: body{filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);} 如果网站里有FLASH文件,请在FLASH代码的之间插入: 阅读全文
posted @ 2008-05-20 10:35 ChoiceShan 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 新建一个Content Editor Web Part,修改其Source Editor,添加以下代码: 实际使用时,只需要将上面红色的内容替换成你需要的内容即可。基本就是一个Image Library以及里面的picture 阅读全文
posted @ 2008-05-16 10:45 ChoiceShan 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 今天遇到奇怪的问题,用sharepoint design在改模板样式,然后突然不能保存,并且无法访问该站点 通过下面的链接找到了解决方案http://www.cnblogs.com/li7125502/archive/2007/09/13/891678.html 错误信息: Runtime Error Description: An application error occurred on ... 阅读全文
posted @ 2008-05-08 14:36 ChoiceShan 阅读(1160) 评论(0) 推荐(0) 编辑
摘要: http://www.wssdemo.com/Blog/archive/2008/01/05/sharepoint-picture-library-silverlight-demo-working-again.aspx SharePoint Picture Library SilverLight Demo working again I just started from scr... 阅读全文
posted @ 2008-05-06 17:05 ChoiceShan 阅读(187) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/Lordan/ 阅读全文
posted @ 2008-04-29 17:59 ChoiceShan 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 1.avi格式 2.mpg格式 3.rm格式 4.wmv格式 5:最简单的播放代码 9:有图像的media播放器,自动调用网上的插件 10:无图像的media播放器 11:在线播放rm格式视频代码 阅读全文
posted @ 2008-04-29 15:28 ChoiceShan 阅读(334) 评论(0) 推荐(0) 编辑
摘要: 找到CSS 的默认样式的地方 在 Local Drive:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\2052\STYLES\CORE.CSS 找到2666行 默认为 .ms-WPHeader TD{ color: #345456; border-bottom:1... 阅读全文
posted @ 2008-04-29 11:32 ChoiceShan 阅读(270) 评论(0) 推荐(0) 编辑