Hi,
I have used 3.2 before and it is working fine in my ASP.NET page using MasterPage. I want to use some 3.4.1 options like PopupWindow etc... Unfortunatley after repleacing 3.2 with 3.4.1 after the POST event page get blocked on GMap refresh which shows gray square.
I have acquired this licence to ask the question so please help. Let me know what I should provide, the aspx code:
....
<td id="Cell2" runat=server>
<asp:Panel ID="GmapPanel1" runat="server">
<cc1:GMap ID="GMap1" runat="server" Height="400px" Width="500px" enableServerEvents="true" />
</asp:Panel>
</td>
And C# code:
if (!Page.IsPostBack)
{
StartTextBox.Text = new DateTime(DateTime.Today.Ticks).ToString(MSFData.DATE_SHORT_FORMAT, CultureInfo.CurrentCulture.DateTimeFormat);
EndTextBox.Text = StartTextBox.Text;
GMap1.Visible = false;
GMap1.enableDragging = true;
GMap1.enableGoogleBar = false;
GMap1.Height = 600;
GMap1.Width = 600;
GMap1.Language = ConfigurationManager.AppSettings["googlemaps.language"].ToString();
// Besam Polska, the culture hardcoded to use "," as separator
GMap1.setCenter(besamPosition, 6);
GMap1.GZoom = 12;
GMarkerOptions markerOptions = new GMarkerOptions();
markerOptions.title = ConfigurationManager.AppSettings["googlemaps.hq.text"].ToString();
GMarker marker = new GMarker(besamPosition, markerOptions);
GMap1.addGMarker(marker);
//TabPanel3.OnClientClick = GMap1.getChangeHiddenStateFunction();
GMap1.addControl(new GControl(GControl.preBuilt.MenuMapTypeControl, new GControlPosition(GControlPosition.position.Top_Right)));
GMap1.addControl(new GControl(GControl.preBuilt.LargeMapControl));
}
GMap1.Visible = true;
isGoogleMap = true;