DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Fri, 17 Aug 2007 19:25:48 +0530,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    Supriya
          2    ÌïµÂÕñ(Nocky Tian)
                 3    Supriya


Third party control on page   
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
Date:Fri, 17 Aug 2007 19:25:48 +0530   Author:  

Re: Third party control on page   
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
Date:Sat, 18 Aug 2007 00:23:33 +0800   Author:  

Re: Third party control on page   
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 
Date:Sat, 18 Aug 2007 14:35:15 +0530   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us