View state problem

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?