How to Sink Managed C# Events in Internet Explorer Script
This is an answer to my previous question. However the better way to ask the question is...
How to sink managed C# events in any COM client, such as Internet Explorer.
This url gives the answer....
http://support.microsoft.com/?kbid=313891
I will only add the following....
In order for the event to be handled by the web page I needed to use the following type of code...
If the object was instantiated with the id="xxx" (as in
then use
*** Also **** I had to adjust the security level of the LOCAL INTERNET zone to Full Trust using the .Net Security Adjustment Wizard snap-in that you get to from the control panel(on winxp).
Only Full Trust resulted in the event being handled by the web page. Ideally, I would have liked to set the security level to Full Trust just for this application but I dont know how to do that.