WebPartManager.WebPartClosing Event
I'm trying to detect when a web part is closed on a Sharepoint web page but can't seem to get it to work.
On my Sharepoint site I have a custom .aspx page where I have some inline code to register an event handler against the WebPartManager.WebPartClosing event. My problem is that when I close a web part on the page, the event handler does not run.
I have tested the exact same code on a normal ASP.Net web app and it works fine. Can anyone tell me if what I am trying to do is possible in Sharepoint? My worry is that maybe the WebPartClosing event already has an event handler in Sharepoint which is stopping from registering my own event handler.
I'd be very inetrested to hear from anyone who is successfully handling WebPartManager events inside Sharepoint. Help!

