New release: SPDisposeCheck v1.3.1

A must-have for each Sharepoint developer. More info are available at Paul Andrew’s blog:


How to hide content type choice control in edit forms

If you want the edit form of a particular list to don’t show some field, you can change the ContentType definition by setting ShowInEditForm=”FALSE” in corresponding FieldRef element. If you want to do the same with Content Type field, the above hint simply don’t work. To make it working you have to modify the rendering…


User Information Page (Userdisp.aspx vs person.aspx)

I hope with this post to clarify why in Sharepoint the User Information Page is rendered sometimes with userdisp.aspx and sometimes with person.aspx. In WSS, when you click on a profile link you are redirected to the User Information Page used by WSS to display WSS profile informations, this page is userdisp.aspx and is located…


How to show Attachments with DataFormWebPart

If you are using DataFormWebPart and you need to add the list of attachments to the output you have to modify the XSLT to use the AttachmentsField control. If you simply use   <xsl:value-of select=”@Attachments”/> the result displayed will be a boolean (Yes/No) value. If you want to display the list of attachments with corresponding links…