Get to the on-line SharePoint SDK with one click (MSDN bookmarklet)

While developing custom SharePoint solutions there is a big chance you need to look into the SharePoint SDK on regular. To keep off continuously surfing to the on-line reference, the SharePoint Team have provided us with the compiled CHM files. I admit that the off-line help files do simplify finding the information on a particular class, method or property. They have however two serious flaws: the content is outdated and there is no community content included in the off-line SDK.

Programmatically deleting list items/documents with Recycle Bin support

If you delete a document in SharePoint 2007 using the User Interface, it’s being moved to the Recycle Bin, so that it can be restored if necessary. There are situations when you want to include deleting list items and documents in your custom solutions. The most commonly used approach I’ve seen is calling the SPListItem.Delete() method. While this does the job, and deletes the item, it deletes it permanently instead of moving to the Recycle Bin.

Quote of the Day Web Part, Reprised – Part 2

\Via [EndUserSharePoint.com\] In the previous article we’ve discussed all the different ingredients of the Quote of the Day Web Part. Additionally we have created the basics to retrieve quotes from a list and display them on the page. In Part 2 of the article I revise the mechanism for retrieving random quote of the day.

Quote of the Day Web Part, Reprised – Part 1

\Via [EndUserSharePoint.com\] In March, Mark Miller of EndUserSharePoint.com (EUSP) has created a Quote of the Day web part. And while it has been downloaded and installed on many sites, it has one shortcoming: you had to edit the web part’s code to manage the quotes. Recently Mark asked me whether it would be possible to do something about it, to make the web part more end-user friendly.