Reimers.dk

.NET, AJAX and Google APIs brought together
Welcome to Reimers.dk Sign in | Join | Help

TabContainer (AJAX) and .NET Control

  •  03-02-2010, 14:15

    TabContainer (AJAX) and .NET Control

    I developed a proedure that reads data from database of addresses and show them on map (geocode addresses). At the end of procedure a use the follwing istructions to center a zoom the map (markers):

    GMap.PostRenderScript = GMap.CenterAndZoomToBounds(GMap.Overlays.Bounds.Center, GMap.Overlays.Bounds)

    GMap.PostRenderScript += GMap.ZoomOut()

    If I put my GoogleMap control (GMap) inside a TabContainer (AJAX ASP.NET control - VS2008), the istructions above don't work, in fact the position shown is incorrect! If I put my GoogleMap control outside TabContainer, it all ok !

    Can someone help me ?

    Regards

    Stefano

View Complete Thread