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


Customaction

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 !