Saving Enum states (Such as DefaultMapView)

Apr 7, 2008 at 7:57 PM
Hello.

I recently started using this control. One thing I noticed right away was my DefaultMapView was not surviving postbacks. I added the following snippet around line 314 in the JsonSerializer<T> class:

else if (type.IsEnum)
{
return Enum.Parse(type, value);
}

Hope this helps someone. I'm using 3.2 by the way.
Coordinator
Apr 8, 2008 at 6:57 AM
Thanks.
This going to be added in the next release.

Regards