Solved

HOWTO handle events of an ActiveX Control with ASP

Posted on 2002-06-21
5
315 Views
Last Modified: 2008-03-10
Hi!

HOW to handle the event of my ActiveX Control I using on my ASP page.
The event is "ClickOK" with no parameters.
I'm not interested in use timeout to monitoring some estate of my ActiveX control.

thanks!
0
Comment
Question by:jussara
5 Comments
 
LVL 5

Expert Comment

by:rpai
ID: 7098674
0
 

Author Comment

by:jussara
ID: 7098934
That article describes how to Enable and not how to catch (handle) the event inside a ASP web page.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 7099125
could you describe a situation?
0
 

Author Comment

by:jussara
ID: 7099155
My Activex Control have a Button.
When then button is clicked the activex control raise the event ClickOK:

RaiseEvent ClickOK

This ActiveX control is embedded inside an html page.

How can I get ClickOK Even. ASP, JavaScript VBScript?

thanks.
0
 
LVL 9

Accepted Solution

by:
samopal earned 50 total points
ID: 7099665
<OBJECT id=MyActiveXControl classid=...>
.....
</OBJECT>

<SCRIPT LANGUAGE=javascript FOR=MyActiveXControl EVENT=ClickOK>
<!--
 Do_smth()
//-->
</SCRIPT>


HTH
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question