|
I'm trying to hide the map on my page and then display it after the user clicks a button. I'm testing this out with a basic map:
< Simplovation:Map ID="homeMap" runat="server" Width="600px" Height="400px"/>
If set the map to visible="false" in the aspx code or OnPageLoad and then try to set it to visible="true" on button click it doesn't become visible.
If I make it visible to start, I can hide and show it via button clicks, but once I it on page load I can't get it to appear again.
I've tried putting it inside of an asp:panel and setting the panel visible="false", but the map is still visible on page load.
What's the best way to show and hide the map? The button click events seem to work, but I need to hide it on page load.
Thanks all help is appreciated.
|