Home All Groups Group Topic Archive Search About

<object> usage in ASPX page after IE update

Author
25 Apr 2006 1:48 PM
di.popa
<object> usage in ASPX page after IE update

I have one window form created in C#;
before the security update update KB912812(Cumulative security update
for Internet Explorer)
I use this window form inside a ASPX page using:

<object id="MyControl" height="100%" width="100%"
classid="/MyWinControls.dll#Module.TestDesign.Components.EditorControl"
</object>

and it work perfect;

After the security update was install, I must activate the control
before use it;
the message "Click to activate and use this control" appear and I must
double-click on the control before use it;

I have try to use Microsoft solution to create a JavaScript function
that will insert the text from the Object tag...but it doesn't work;
the control is no longer initiated;

Any idea how shoul I use the win control in order to skip the
"activate"?
Any idea what is wrong?

Author
26 Apr 2006 12:08 AM
Greg Young [MVP]
A full description including history of the issue is found here
http://www.baekdal.com/articles/Technology/microsoft-ie-activex-update

For work arounds you have to write the element in javascript. You can find
more information on the work arounds
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/overview/activating_activex.asp
and
http://therippa.blogspot.com/2006/03/activateactivex.html

Cheers,

Greg Young

<di.p***@gmail.com> wrote in message
Show quote
news:1145972898.360317.120940@g10g2000cwb.googlegroups.com...
> <object> usage in ASPX page after IE update
>
> I have one window form created in C#;
> before the security update update KB912812(Cumulative security update
> for Internet Explorer)
> I use this window form inside a ASPX page using:
>
> <object id="MyControl" height="100%" width="100%"
> classid="/MyWinControls.dll#Module.TestDesign.Components.EditorControl"
> </object>
>
> and it work perfect;
>
> After the security update was install, I must activate the control
> before use it;
> the message "Click to activate and use this control" appear and I must
> double-click on the control before use it;
>
> I have try to use Microsoft solution to create a JavaScript function
> that will insert the text from the Object tag...but it doesn't work;
> the control is no longer initiated;
>
> Any idea how shoul I use the win control in order to skip the
> "activate"?
> Any idea what is wrong?
>

AddThis Social Bookmark Button