Current location: Hot Scripts Forums » Programming Languages » Windows .NET Programming » Handle events from Winforms-Based UserControl in Internet Explorer


Handle events from Winforms-Based UserControl in Internet Explorer

Reply
  #1 (permalink)  
Old 11-18-05, 06:07 AM
snkar snkar is offline
New Member
 
Join Date: Dec 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Handle events from Winforms-Based UserControl in Internet Explorer

I am working on a solution where I am developing a similar control to be hosted in IE. The control, written in C#, exposes public properties which I can set(by using <PARAM> tags in DHTML) and get from HTML and JavaScript. The control is doing some work in a loop. At the end of each iteration and at the end of the loop I need to notify the containg
HTML page. So what I essentially need is to be able to raise events from my control which can be trapped by JavaScript in the containg page. I have read in an article that this is possible using delegates and handling the events in
JavaScript using the <SCRIPT FOR="ControlID" EVENT="EventName">, but this will probably require communication between the C# code in my control and IEHost.dll(the container for the control). Now I am a novice in .NET COM interop. Hence I need some help here. Thanks.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet explorer restricting file from showing active content Torbinsky JavaScript 6 07-24-05 12:58 PM
windows xp SP2 and Internet Explorer bsilby The Lounge 5 06-19-04 11:04 PM
Asp.net web controls are not showing in internet explorer shawais ASP.NET 3 05-04-04 05:16 AM
Declared Functions skipper23 PHP 4 12-17-03 10:06 AM
index page not showing up skipper23 PHP 3 12-15-03 01:10 PM


All times are GMT -5. The time now is 02:16 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.