Third party control on page

S

Supriya

Hi All,
I added one ActiveX control to the web page from html source.
<OBJECT id="MyWinControl1" height="147" width="186"
classid="http:ActiveXDotNet.dll#ActiveXDotNet.myControl" ></OBJECT>

How can I access this control(MyWinControl1) in my aspx.cs ?

I am new to the web applications. Please help me.

Thank you,

Supriya
 
?

=?gb2312?B?zO+1wtXxKE5vY2t5IFRpYW4p?=

try place a "runat" property in <object> like this
<objec runat="server" id="mycontrol">
Then you will be able to access the control using object variable mycontrol
in aspx.cs
 
S

Supriya

I tried this option.It is not working.
When I try to add ActiveX Control from the "Choose Tool Box Items",Why it is
not coming in tool box items?But my ActiveX control is coming in "Choose
Tool Box Items".Any Idea?
 

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,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top