Map control content is disappearing

Discussion created by on Aug 14, 2013
Latest reply on Aug 15, 2013 by
In order to speed up subsequent loading of the form that contains my map file, I load the form in memory and then hide it. When it is called again, it makes the form visible. When the user is done with the form then clicking the Close button hides it.

The problem I'm running into is that when it initially loads the form it displays the map just fine. However, after it has been hidden the map control goes away and the base map doesn't appear anymore. I can put graphics on it and I know the control is there because I can see the "powered by ESRI" bug at the bottom right.

If what I'm doing is a bad idea, is there a way to speed up the loading of the map? I need the form to display in less than one second, and the map loading sometimes takes two or three seconds.

Any ideas?