I have a problem where I have the map control inside an UpdatePanel control. The map contains some features along with a HighlightOverlay that has a click event set.
The problem is that when the UpdatePanel is refreshed, the click event on the HighlightOverlay only works once then fails after. If the UpdatePanel containing the map is never reloaded, the click event works every time.
This happens with WebEdition version 8.0.0.28.
Can somebody please have a look at the attached example and give me some advice? You can see the problem by clicking the button then trying to click on the features. The date at the bottom should update with each click but will only work once.
Thanks
Simon
highlightOverlayProblem.zip (4.18 KB)
HighlightOverlay click problem
Hi Simon,
Thanks for the sample, we can recreate it easily.
I found the issue is caused by ChildrenAsTriggers="false", once we remove it, it would works fine. would you please check it and let us know if it works?
Thanks,
Troy
This does help with the problem, however it does cause the map display to reload/flicker, something I would rather avoid happening if possible.
Is there any way to get this working with ChildrenAsTriggers="false" set?
Hi Simon,
Yes, it seems the page will flicker with Bing layer if the ChildrenAsTriggers=‘true’, but works fine with worldmapkit layer. Now, I am working on it to see if there are any issues. Please wait another days and I will update here once any updates.
Sorry for any inconveniences.
Regards,
Troy
Hi Troy
Did you manage to find a solution for this?
Thanks
Simon
Hi Simon,
We did have a progress on it, but it caused another issue and we are working on it now.
Sorry for any inconvenience.
Regards,
Troy
Hi Simon,
Thanks for your waiting. But I am sorry to say we found it is hard to fix it completely after spending a lot of hours.
Sorry again and if any other questions, please feel free to let us know.
Thanks,
Troy