Posts Tagged ‘MOSS’

The features of MOSS 2007 »

Enterprise Portal Web Form Web Part                                Use for Web Content of Type Display ( Web Form) Web Report Web Part                              Use for Web Content of Type Output ( Report and Web Report) Generic Web Part                                    Use for Web Let Web Menu Web Part                                Use f

How to get SharePoint 2007 SPList Forms Url »

String formUrl = String.Format(CultureInfo.InvariantCulture, "{0}/{1}?id={2}", SPContext.Current.Web.Url, SPContext.Current.Web.Lists.Forms.Url, item.Id); 来源: http://www.myrocode.com/post/2009/03/20/How-get-SharePoint-2007-SpListItem-DispForm-Url.aspx

Some tips for MOSS or WSS developer »

Avoid empty catch blocks and use error logging instead. Use the 'as' operator to cast reference types instead of a type cast. This saves you a NullReferenceException in case of an invalid cast. Use the TryParse methods to convert strings to value types instead of the Convert class. Everything placed in a 12-hive sub folder should have it's

MOSS开发笔记2 »

今天是接触MOSS开发的第二天, 任务的难度开始增大. 项目需要添加若干List, 用于保存数据. 其中一个List包含一个颜色类型的自定义字段. 今天的任务就是用代码实现这个自定义字段. 正式的步骤和代码参考这里, 需要注意的几点如下: 1. 代码文件的项目需要签名, 注册到GAC中 2. acsx组件文件需要保存到模板目录中 C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES 3. xml文件需要注意文件名称格式, 同样需要保存到对应的xml目录中 C:\Program Files\Common Files\M