I am dynamically creating UserControls, which contain a PopupControl.
If I place one of these UserControls on a page, the PopupControl works fine.
On my search results page, I load all the UserControls into a Panel, then into a hidden Panel.
When a user clicks the preview of the UserControl the entire UserControl shows up in another location.
document.getElementById('divView').innerHTML = document.getElementById('"
+ pnl.ClientID + "').innerHTML;
Just by doing that on click of the preview.
What I did just made a copy of the UserControl (and the PopupControl), when the copy is shown in this new location, the PopupControl does not popup.
Is there any way to make it popup in the copied location? I get new JavaScript errors when performing this action. So I am assuming that the PopupControl is activating, but in a hidden div.
Any ideas at all would be great, I've spent many hours and now finally figured out what the issue is, but I don't know how to solve it, if it is solveable. Thanks!