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 !

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s