I want to execute a code when user selects a list item in a custom list and press an menu in Edit Control Block. This menu will be titled as "Search". When user clicks this menu "Search", the custom code deployed via assembly in custom feature developed in VS 2010 must pick the list item "Title" and retrieve all documents containing that "Title" example "Marketing". I can query either SharePoint API or Search Web Service.
Please advice me how should I do this. Is there any example or code snippet available to do this? I am not that expert in coding.