How can I use the <object>??

  • Thread starter Thread starter Jet Leung
  • Start date Start date
J

Jet Leung

Hi all,
There are somethings trouble me. I had made a aspx file and drop an ActiveX
component into this aspx design view, and this aspx html view, this ActiveX
component was declared <object id="xxx"..>. And How can I use this component
in my aspx page?
Can I use this component declared by <object> in html view in this aspx
behind code? For example ,webform1.aspx in the html view:

<html>
....
<object id="a" clsid="xxxxx">
...
</html>

And could I use the object's id in the aspx code behind page?
for example , in the webform1.cs
...
private void page_load(object sender, EventArgs e)
{
a.xxxx();
}
....
 
Jet,

You really can't use it. When you drop an object on the page, it is
something that will be loaded on the client side, not the server side. The
code in your ASPX page is going to be run on the server side.

What is it that you are trying to do?
 
Back
Top