Public Events and Sessions

Activate ActiveX control using Javascript

Introduction

          Today I am going to talk about common issue most of developer faces when they are trying to use an ActiveX control in his web page, and they want user to use the control without click it twice.

Problem

                When web developer use an ActiveX control in his web page, users of this web page should click twice on the ActiveX control first click to activate the ActiveX control and second time to use the control.

Solution

                Solving the above issue is very simple just follow the below steps:

  1.  Download and Add this Javascript file to your web application
  2.  Add the following line before the end body tag in your web</body>
    <script type=”text/javascript” src=”virtual path of added JS file in step1″/>

Note, I have read many articles for fixing this problem but most of them not working and need to write Javascript codes but this article only was working, so I have wrote this post to give you the best solution I have found after long time of search.

I hope That Helped.

January 20, 2011 - Posted by | Asp.net | , ,

2 Comments »

  1. This design is wicked! You most certainly know how to keep a reader
    entertained. Between your wit and your videos, I was almost moved to
    start my own blog (well, almost…HaHa!) Great job.
    I really loved what you had to say, and more than that,
    how you presented it. Too cool!

    Comment by oreck store | January 1, 2013 | Reply

    • thank you for your kindly comments, if you write any post in ur blog share with me, i am interested to learn and share with others anything new.

      Comment by mohammedatef83 | January 2, 2013 | Reply


Leave a reply to mohammedatef83 Cancel reply