By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,183 Members | 1,190 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,183 IT Pros & Developers. It's quick & easy.

How to develop and use Activex Control in ASP

P: n/a


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
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
why an activeX control? you can do this with javascript (cross-platform
too)


________________________________________
Atrax. MVP, IIS
http://rtfm.atrax.co.uk/

newsflash : Atrax.Richedit 1.0 now released.
http://rtfm.atrax.co.uk/infinitemonk...trax.RichEdit/

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #2

P: n/a
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.

--
William Morris
Product Development, Seritas LLC
Kansas City, Missouri

"loveneesh bansal" <lo**************@hotmail.com> wrote in message
news:eD**************@TK2MSFTNGP10.phx.gbl...


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
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 19 '05 #3

P: n/a
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.

--

Phillip Windell [CCNA, MVP, MCP]
WAND-TV (ABC Affiliate)
www.wandtv.com
"loveneesh bansal" <lo**************@hotmail.com> wrote in message
news:eD**************@TK2MSFTNGP10.phx.gbl...


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
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 19 '05 #4

P: n/a
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.

Jul 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.