Doru Popa

Doru Popa

  • NA
  • 1
  • 0

Windows Control in a Web Form - after security update

Apr 27 2006 7:43 AM

I have one WIN user control created in C#; before the security update update KB912812(Cumulative security update for Internet Explorer)
I use this win control 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, 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 should I use the win control in order to skip the "activate"?