SharePoint Tip of the day – Don’t forget you don’t have a SPContext in your event receiver (synchroneous or asynchroneous)

… so whenever you're calling some utilities helper class from your receiver code, make sure they are not relying on the SPContext … (you can still have a classic httpcontext in your synchroneous event, that can be handy)

SharePoint Tip of the day – Open a Custom Action “EditControlBlock” in an overlayer


People get really used to overlayers in SharePoint 2010. Altough you can turn it off at the list level, it’s a nice addition and you can easily benefit from it in your custom action development.

Here’s a quick snippet to open your custom action in a modal dialog. The trick is to use some inline javascript in the UrlAction (instead of a regular url) to call the dialog and manage the call back function. 

Tweak it to your needs !