Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

ECB custom action sub menu (server side programming)

$
0
0

Hi,

I'd like to add a custom actions to a list ECB menu. I'm currently able to add them server side with this code :

                var menuAction = list.UserCustomActions.Add();
                menuAction.Name = "MyActionName";
                menuAction.Location = "EditControlBlock";
                menuAction.Sequence = 450;
                menuAction.Title = "MyTitle";
                menuAction.Url = "MyAction";
                menuAction.Rights = SPBasePermissions.EditListItems;
                menuAction.Update();

Now I'd like to group my items in a sub menu (like the "Send To" menu)... Is it possible to do that server side (I cannot use client side model for this task)?



Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>