IE8: show legend dijit in new window

440
1
03-26-2013 06:43 PM
SteveMcMaster
New Contributor
Hi,

We are in the process of developing a new AGS application, and one of the requirements is to show the legend in a popup window (window.open - not a dijit window).

I've written the code to show the popup, and it works fine in all browsers, but when I try to attach to the "OnUpdateEnd" event of the map to refresh the legend, it only seems to work in Chrome. In Internet Explorer (I'm testing on version 😎 the legend is not updated, and when debugging using the IE Developer Tool I get a "JScript object expected" error.

I've attached a zip file with a demo of the problem, and any assistance would be greatly appreciated. The only requirement I have is that I have to use a separate html page for the popup as additional information is displayed on this window (for clarity I have removed it in this example). Apart from that requirement, I'm more than happy to refactor the code as much as possible to resolve this issue.

Thanks.

Steve
0 Kudos
1 Reply
SteveMcMaster
New Contributor
102 views of this post but as yet no response.

Hopefully someone out there can point me in the right direction?

Steve
0 Kudos