In my previous post I show how to put some javascript to all pages in a site collection using the delegate control. This is pretty common scenario and the approach with the AdditionalPageHead control works great. In this post I will use again the approach to solve another issue. The scenario: Add a custom item in the ‘Send To’ section in the contextual menu for document. The solution: Overwriting the default javascript function in core.js. The javascript function renders the new idem. A delegate control is used to bring the customizations on the pages in a particular web. Code Sample: download from here Explanations: In such tasks the most normal approach will be using a custom action which most difficult part is to find the correct value for the Location property. The problem in our scenario is the fact that the Send To menu items are rendered only by javascript. There is no way to use custom action for it so the only option is to find a w...