VDS Technologies

 

View state problem

12/2/2014 9:04:11 AM
Total Posts 11

View state problem

Hello, we are using your map control for our project. Everything is working fine, when selections are small. 

When we select large amount of objects in one layer (around 4500) everything slows down. We thought it was problem with our database and db optimization, but instead of that we found out that ajax response for page is really big. It goes over 9.5 Mb of data, mostly ViewState data for AspMap control. 

We tried to turn off ViewState, but after that map control stopped functioning. 

Why is viewstate so big when there are so many selected objects on the map? Drawing engine sends png with selected objects. How can we make viewstate smaller and application faster? Do you have some solution or workaround?

 

Thx in advance

12/2/2014 12:17:19 PM
MVP
Total Posts 323

Re: View state problem

Please post the code here, or submit a support ticket at http://www.vdstech.com/tickets.aspx?cmd=submit