How to develop and use Activex Control in ASP

L

loveneesh bansal

Hi Experts,

I want to write an activex control. This actiovex comntrol will be a
simple drop down and when i select a value from this drop down the value
in another drop down will be fill up based on this value with page
refreshing.

I have no idea how to develop such type of activex control.

Can anyone help me for that.

Regards,

Loveneesh Bansal
 
W

William Morris

Javascript would accomplish this much better than relying on an ActiveX
control. If you've got your heart set on ActiveX, though, you'd need to
write the control in a language like VB or C++, topics which are well
outside the scope of this group. If you're wanting to learn how to write an
ActiveX control, get a book or use the ActiveX Control Wizard in VB and work
from there; that's a subject too large for a newsgroup question, regardless
of the appropriateness of the topic.
 
P

Phillip Windell

You don't. ASP runs on the server not in the browser,...the browser
never sees it.

What you are doing is client-side scripting, not ASP.
 
Y

Yan-Hong Huang[MSFT]

Hi,

What Phillip said is right. What you need to do is client side scripting to
control ActiveX control.

I think you could implement two dropdown lists in one ActiveX control,
which makes things easy. Or you need to create some event in dropdown list1
and then have dropdown list2 respond to these events in scripting.

Best regards,
Yanhong Huang
Microsoft Community Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 

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

Staff online

Members online

Forum statistics

Threads
473,769
Messages
2,569,577
Members
45,052
Latest member
LucyCarper

Latest Threads

Top