I have an event handler for the ItemAdding event of a document library. However, I cannot get it to handle the event unless I register the event handler using the Sharepoint Event Handler Manager. This is fine on a development server, but moving to production, I’d like to be able to register it programatically. Is there a way to do this without using the Sharepoint Event Handler Manager?
Thanks in advance!
If I understand you correctly, you want to bind the receiver using SharePoint API? Here is the MSDN example: