PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
UserControl class hosted in IE
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
UserControl class hosted in IE
![]() |
UserControl class hosted in IE |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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. "Ash" <Ash@discussions.microsoft.com> wrote in message news:56AC366A-DED3-40FF-B58C-22E6128C4D75@microsoft.com... > 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 > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Well I managed to find solution based on this blog
http://blogs.msdn.com/andrewdownum/...wserEvents.aspx Thanks for you help "Dmytro Lapshyn [MVP]" wrote: > 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. > > "Ash" <Ash@discussions.microsoft.com> wrote in message > news:56AC366A-DED3-40FF-B58C-22E6128C4D75@microsoft.com... > > 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 > > > > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

