Information générale
Catégorie:
Controls activeX
Titre:
ActiveX in a .Net Web Form
I'm new to this stuff (.Net, Web Forms, ActiveX)
I have an app which uses the same page over and over.
In the app I have an ActiveX alarm control... ctAlarm from DBI-Technology
I'm having several problems, each of which are probably because of my ignorance.
The tech-support for DBI-Technology have helped me a fair amount and have provided me with a very simple sample showing me how to load the control and fire a msgbox when the alarm triggers... all of this is being done on the client side using the HTML code section of my app... since this control is client side, I can't use session variables to address my difficulties.
1. When I first go to the page and set my alarms, everything seems fine. And if I stay on that page until it's time for an alarm to fire, then it does so with the anticipated result.
As my page reloads, this client side activeX appears to reload and in doing so, wipes out alarms previously set.
Technically, I don't know for sure if it's the reload that is doing this or if there's something else going on... is there something in page cleanup/unload/whatever that I should look for? and if so... where could it be? I haven't explicitly setup anything to remove the activex or to remove the alarms currently set.
2. How can I detect that the control is already loaded?
3. How can I make some things happen only the first time the page loads?
4. It was suggested to me that I set up a hidden form with a field that I can check as the page loads, and branch branch accordingly... how do I do that?
TIA,
Rick
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement