Question Locked

ocx control and javascript

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am trying to communicate with an ocx control hosted in an aspx web page. The ocx control downloads and instantiates correctly (checked dowbnloaded program files and the registry) but talking to the ocx control using javsacript yields no response.

Page snippet:

function GetData() {

alert('here');
var ctrl = document.FC;
ctrl.Trace_Reference = 'qqq';
alert(ctrl.Trace_Reference);
var stringData = ctrl.Trace_Data;
alert(stringData);

return false;

}

Any ideas? The ocx control works fine when tested in a windows form.

1 reply

This discussion is closed to new replies.