UserControl class hosted in IE

G

Guest

Hello all,
I have a windows control which is hosted in IE
(http://support.microsoft.com/?kbid=317346). Using javascript I am able to
call most of methods of my control, but when it comes to handling events
raised by my UserControl class, this fails. I am not able to handle events in
javascript/ vbscript. Any one has any experience on this?
Thanks
Ash
 
D

Dmytro Lapshyn [MVP]

Hello Ash,

My take on this is that your control should be created as COM-visible, and
its events should be declared and exposed appropriately.

See "Managed and Unmanaged Events" in ".NET Framework Developer's Guide" in
MSDN Library for more information.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top