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
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
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? "(Nocky Tian)" wrote in message news:231D28B8-128F-4EB2-B2F7-F21436C51586@microsoft.com... > 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