I have been following this thread and made good use of it. I was also facing the same problem of unable to fire the onchange event of the Select element. That was quite much possible with the code you posted. Thanks.
IHTMLWindow2 f = (IHTMLWindow2)(htmldoc.parentWindow);
f.onload = this;
This will call the followinf function for every event:
public void DefaultMethod()
HTMLWindow2 win = (HTMLWindow2)((HTMLDocument);
Console.WriteLine("Object: " + win.@event.srcElement
+ ", Type: " + win.@event.type);
IHTMLElement3 f = (IHTMLElement3)win;
object o = win.@event;
But i am not able to fire the onload event by this. Please help!!!
Thanks for reading this,
Hoping a reply ...