Passing parameters to client side ActiveX control

A

Allan Cammish

Dear all

I am developing a web application in ASP.NET & VB.NET and I need to
pass parameters from the server side code to an ActiveX control which
is loaded and run on the client's browser.

Before anyone asks me, I have to use an ActiveX control, and it has to
run on the client side!

Regards

Allan Cammish.
 
R

Rajesh.V

You can use the param tag
<clsid:
<param name="MyName" value="MyValue>
/>

also u have to declare public property MyName in your active x.

Then just response.write the html code as above or do

<param name="MyName" value="<%= MyValue()%">

in the code behind
 

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

Members online

No members online now.

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top