in a web application, an ocx is hosted by the browser, you the server code
can not access it. your c# code can control the emittion of the <object> tab
and parameters, but can not access the ocx.
accessing the ocx can only be done with javascript. you can emit javascript
from your c# code that will set the parameters you want. when accessing
active/c control from client script you must check that the readyState == 4
(control is loaded).
-- bruce
<ja*********@gmail.com> wrote in message
news:11**********************@i39g2000cwa.googlegr oups.com...
Hello ,
I need to add a ActiveX control ...the Dicomviewer in ASP>net ..
I am able to do it fine in C# project but not in web application
I add that Dicom dll (.ocx file) in my ASP.Net form so it added like
this:
Code:
<OBJECT id="Viewer" style="Z-INDEX: 101; LEFT:..........
I need to access this Viewer in my C# coding so that i can add image to
that Dicom Viewer.
please help me dude ,
thanks,
Jayender