locked
Event handlers lost after InfoBox hidden RRS feed

  • Question

  • I'm having an issue with an InfoBox that has htmlContent set.  If I create an event handler for the InfoBox using Microsoft.Maps.Events.addHandler (to catch clicks on the InfoBox) then the event handler works as expected.  But, if the InfoBox is hidden using setOptions({visible: false}) and then later displayed again using setOptions({visible: true}), the event handler is no longer called.  Event if I try to add the event handler again each time the info box is displayed, it is never activated again.

    What am I doing wrong?

    • Moved by Ricky_Brundritt Friday, March 9, 2012 6:24 PM (From:Bing Maps: Map Control and Web services Development)
    Tuesday, June 28, 2011 10:14 PM

Answers

All replies