Click here to Skip to main content
14,735,318 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am creating the workflow for approval.And I am using visual studio 2008 for developing workflow.I want to create a the approval drop down menu in the SharePoint task when we want to edit form for approval or rejected it come in drop down menu Approval and Rejected.

If any buddy know the solution for that plz write it.
Updated 16-May-10 0:15am

1 solution

You can use "Custom Actions" to add a new menu item to the ECB. See the "Add an Edit Control Block Menu Item" section on this MSDN page.

You'd probably wanna do something like this (This works both in SharePoint 2007 and 2010)

<Elements xmlns="">
  <CustomAction Id="Task.Approve"



                ImageUrl="Url of image of your menu item if any"


    <UrlAction Url="Url of page to load when the menu item is clicked"/>

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900