ActiveX in ASP.Net !!

A

Anand Kale

How to have ActiveX control called from Web Form in ASP.Net ? ActiveX
control is written using VC++/MFC/ATL-COM.

Also kindly answer following issues,
1. Also how to take care of issues about security etc ?
2. Can anyone give me exact steps to embedd activex in a web form ?
3. Can the activeX control interact with the server side control on the web
form ?
4. Do I need to register the activeX on client machine ? I want to download
the activeX .. It should not be run as server component. Client script
should be able to access properties/methods/events
5. Do I need to create object of that component in the page ?

Thanks in advance ..
Anand
 
A

Alvin Bruney [MVP]

Either copy and paste the object into the design view, or copy and paste the
CLSID into the html portion of the aspx file.
When the activeX control is run, it will inform the user and request
permission.
3. Can the activeX control interact with the server side control on the
web
form ?
No, the activeX control is a client-side object. Webserver controls are
server controls. However, you can pass data to and from thru
scripting, similar to the way you would fill a clientside text box with a
server side value.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top