views:

47

answers:

2

In a page there is an activex control as well as a button whose onclick opens an ajax modal popup. The problem i face is that whenever the button is clicked the ajax pop up loads behind the activex control and thus it is hidden.So I am not able to use that control at all. I have not found a proper solution to this. I tried a solution where a browser check condition was removed from the ajaxtoolkit code. but no luck. Am using Ajax toolkit version 3.0.30512.1.let me know if there are any solutions to resolve this problem.

A: 

I don't have any experience of ActiveX, but this could be a simple CSS Z-Index positioning issue. Have you ensured that the Z-Index of your control is lower than that of the modal popup?

http://www.w3schools.com/css/pr_pos_z-index.asp

TimS
I have tried the Z index option but with no luck.
Aravind
A: 

I'm not sure but I think the problem is the ActiveX, which is always displayed at topmost.

You could try to hide the ActiveX when displaying the popup:

document.getElementById('activex').style.visibility = 'hidden';

and then when you close the popup show the ActiveX again:

document.getElementById('activex').style.visibility = 'visible';
Dave
let me try this option
Aravind