Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: Using ActiveX controls in ASP.NET


Message #1 by brian.broussard@h... on Thu, 29 Nov 2001 17:53:11
Brian,

The activeX control is interacting in an active document container (internet
explorer) and is interacting with script and the browser in a client-side
fashion.  I've not been able to implement server code to interact with the
activex control (unless the server code is initiated from the control) as
once the request goes back to the server, the control context is lost in
most cases.

tim

-----Original Message-----
From: brian.broussard@h...
[mailto:brian.broussard@h...] 
Sent: Thursday, November 29, 2001 10:53 AM
To: ASPX_Professional
Subject: [aspx_professional] Using ActiveX controls in ASP.NET


Hi,

Newbie here.  

1)I am trying to host the Excel spreadsheet control in my aspx page.  
Problem is that I can not access the methods and properties of the Excel 
Control from the CodeBehind module.  Any help would be greatly appreciated.

2)My current assumption is that CodeBehind is inheriting the Page Object.  
In turn, the aspx page is then inheriting CodeBehind Class.  If this is 
not correct, please advise.  My thought was that I should be able to 
directly access public methods in CodeBehind by simply embedding a script 
tag and calling either the method or base.method.  This doesn't seem to 
work either.

Thanks a bunch to those who respond!!
---
VBug Winter Conference 2001 

Make no mistake - there's a great learning curve 
for developers moving from COM to .NET.  So why 
would you want to be a pioneer and cross the bridges 
first?  Attend the .NET Developer's Conference 
(28th to 30th November 2001) In London and realise 
the benefits of adopting the technology early.  By 
attending you'll understand the key challenges and 
be left with a thorough understanding of the major 
.NET fundamentals.   If you're already working 
with .NET this is a must-attend event.  

http://www.vbug.co.uk/redirect.asp?url=39&id=17

---
You are currently subscribed to 
aspx_professional as: timh@i...
$subst('Email.Unsub')
Read the future with ebooks at B&N
http://service.bfast.com/bfast/click?bfmid=2181&sourceid=38934667&categoryid
=rn_ebooks

  Return to Index