Asynchronous postback Issue

Last post 4/16/2009 7:22:29 AM by Arul. 2 replies. << Back to Web.Maps.VE v2.0 General
4/10/2009 12:57:10 PM
Arul

Asynchronous postback Issue

Hi ,

I have more than 500 shapes in the map. In the VE.Map , if I make the property AsyncPostbackPassShapes="True", The map not responding properly. But the browser  throws error says "A script on this page causing Internet Explorer to run slowly.." . Is there any way to sort out this. Since I need to get some shapes from the map and delte them from the map.

4/10/2009 9:16:35 PM
Chris Pietschmann

Re:Asynchronous postback Issue

This is a known performance bottleneck that exists in the current v2.00.03 and earlier releases of Web.Maps.VE. It only becomes an issue when you display as many shapes on the map as what cause the Virtual Earth API itself to start slowing down.

The reason IE is giving you this message is because it's taking awhile for the javascript code within the control to serialize ALL the Shapes to be passed back to the server. This performance bottleneck is actually why the control has the AsyncPostbackPassShapes property in the first place. This property allows you to specify that you don't want to pass ALL the Shapes back to the server during every asynchronous postback.

We are looking in to some performance changes / modifications to help elleviate issues like this one. Unfortunately, I can not specify what changes will be made or what update release they may be included within.
4/16/2009 7:22:29 AM
Arul

Re:Asynchronous postback Issue

Hi,

   Is there any other way to delete a particular shape(using Java script ) when Asynchronous postback is false. I am using timer. So I need to delete a particular shape from the map during timer ticks.

Thanks